mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This allows applications to start a Flutter engine instance during app startup and keep it running throughout the app process' lifetime. FlutterActivity subclasses can override createFlutterNativeView to provide a preinitialized FlutterNativeView instance and override retainFlutterNativeView to signal that the FlutterNativeView should be kept alive when the activity is destroyed.