mirror of
https://github.com/flutter/flutter.git
synced 2026-02-06 11:48:36 +08:00
* Upgrade everything except matcher. * Roll matcher (and test) * Adjust tests that depend on flutter:test directly to depend on a shim * Require use of package:test shim and remove other references to package:test
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.