flutter/examples/flutter_view
Greg Spencer 797b39e9b2
Creates a new flutter command 'ide-config' and removes *.iml and .idea from tree. (#12958)
Creates a new (hidden) flutter command 'ide-config' that will create and/or update
existing .iml files and some files under the .idea directory, as well as
removing existing *.iml files and the .idea directory.

It also:

 * Adds *.iml to the .gitignore
 * Removes existing .iml files from the repo, and moves them to the
   packages/flutter_tools/ide_templates/intellij directory.
 * Adds a flag to ide-config ('--update-templates') that will take any new .iml
   files in the flutter tree and add them to the existing templates.
     - If --overwrite is also specified, then all existing templates will also
       be overwritten with the contents from the flutter tree, and any that have
       been deleted from the flutter tree will also be removed from the
       templates.
 * Added new run configurations for all existing app targets that will now also
   be automatically added to IntelliJ.
 * Setting up the environment also includes setting the coding style guidelines
   and the git VCS.
 * Note that after this PR lands, Flutter developers will need to run it once to
   re-create the .iml files and configuration files that have been removed.

After this PR lands, .iml files will no longer appear in the untracked files
section for git.
2017-11-13 10:55:22 -08:00
..
android Add framework support for system text scale factor. (#12180) 2017-10-02 14:18:18 -07:00
assets Add flutter_view sample (#8486) 2017-03-09 12:53:01 +01:00
ios Update example project .gitignores to latest template (#10188) 2017-05-18 18:09:51 -07:00
lib enable lint prefer_single_quotes (#12665) 2017-10-22 18:11:36 +02:00
.gitignore Updated example gitignore files per the flutter create template (#10251) 2017-05-22 10:31:50 -07:00
pubspec.yaml Update Dart package dependencies (#12829) 2017-11-01 15:28:46 -07:00
README.md Add flutter_view sample (#8486) 2017-03-09 12:53:01 +01:00

Example of embedding Flutter using FlutterView

This project demonstrates how to embed Flutter within an iOS or Android application. On iOS, the iOS and Flutter components are built with Xcode. On Android, the Android and Flutter components are built with Android Studio or gradle.

You can read more about accessing platform and third-party services in Flutter.

iOS

You can open ios/Runner.xcworkspace in Xcode and build the project as usual. For this sample you need to run pod install from the ios folder before building the first time.

Android

You can open android/ in Android Studio and build the project as usual.