mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
e491544588
* Move embedding and linking Flutter frameworks into the tool * Unused import * Migrate * Rename run, add comments, remove typedef * Add status log to tell the user what we did * Remove Podfile migration, create IOSMigration superclass * word-smiting Co-Authored-By: Jonah Williams <jonahwilliams@google.com> * for space Co-Authored-By: Jonah Williams <jonahwilliams@google.com> Co-authored-by: Jonah Williams <jonahwilliams@google.com> |
||
---|---|---|
.. | ||
android | ||
assets | ||
ios | ||
lib | ||
pubspec.yaml | ||
README.md |
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.