mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
9299c02cf7
* Reland "Roll engine to version b148e628ec86b3a9a0382e0bcfae73f0390a8232 (#20427)" This is a re-land with downgraded `package:flutter_gallery_assets` version. * Downgrade package:flutter_gallery_assets to 0.1.4 * Change engine.version to 81baff97c29bb08cbf8453a3f9042c5813f84ad3 (which contains an additional fix) * Change engine.version to e3687f70c7ece72000b32ee1b3c02755ba5361ac (since mac tarballs are corrupted on earlier commit) |
||
---|---|---|
.. | ||
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.