Try Live Demo

Rebuilding your existing application in Flutter can be tedious and time-consuming. For these cases, Flutter can be integrated piecemeal into your existing application as a library or module. You can then import this module into your Android or iOS app to render part of your app’s UI in Flutter.

You can easily rebuild your existing app in Flutter in a few steps.

The add-to-app the feature supports integrating multiple instances of any screen size. This can help scenarios such as a hybrid navigation stack with mixed native and Flutter screens, or a page with multiple partial-screen Flutter views.

Having multiple Flutter instances allows each instance to maintain an independent application and UI state while using minimal memory resources. See more on the multiple Flutters page.

Adding Flutter to an Existing iOS and Android App

You can add Flutter to your Android and iOS apps by following the basic steps below. Let’s start with the Android app!

Adding Flutter to Android App

  • Auto-build and import the Flutter module by adding a Flutter SDK hook to your Gradle script.
  • Build your Flutter module into a generic Android Archive (AAR) for integration into your own build system and for better Jetifier interoperability with AndroidX.
  • FlutterEngine API for starting and persisting your Flutter environment independently of attaching a FlutterActivity/FlutterFragment etc.
  • Android Studio Android/Flutter co-editing and module creation/import wizard.
  • Java and Kotlin host apps are supported.
  • Flutter modules can use Flutter plugins to interact with the platform.
  • Support for Flutter debugging and stateful hot reload by using flutter attach IDEs or the command line to connect to an app that contains Flutter.

Adding Flutter to iOS App

  • Auto-build and import the Flutter module by adding a Flutter SDK hook to your CocoaPods and to your Xcode build phase.
  • Build your Flutter module into a generic iOS Framework for integration into your own build system.
  • FlutterEngine API for starting and persisting your Flutter environment independently of attaching a FlutterViewController.
  • Objective-C and Swift host apps are supported.
  • Flutter modules can use Flutter plugins to interact with the platform.
  • Support for Flutter debugging and stateful hot reload by using flutter attach IDEs or the command line to connect to an app that contains Flutter.

You can learn more about Flutter development here.

More Blog Post About Flutter

Categories: Tutorial

chatsimple
Warning: Undefined array key "promocode" in /home/mirror.antmedia.io/public_html/wp-content/themes/hestia-child/footer.php on line 70