fl_multi_engine 0.0.1
fl_multi_engine: ^0.0.1 copied to clipboard
Creates, destroys and connects named Flutter engines on Android, iOS, macOS, Windows, Linux and HarmonyOS.
0.0.1 #
- Initial release.
- Creates, destroys, lists and connects named Flutter engines on Android, iOS, macOS, Windows, Linux and HarmonyOS. Engine creation never shows any UI; presentation is left to the host app.
- Engine APIs:
create,destroy,list,status,sendandcurrentEngineName, exposed both through Dart (FlMultiEngine) and through the native API of every platform (FlMultiEngineBridge,FlMultiEngineInfo,FlMultiEngineDestroyObserver). senddelivers messages between engines with asender,methodandvaluepayload; native implementations notify Flutter throughonEnginesChangedwhenever an engine is created or destroyed.- Unified error codes on every platform (
not_supported,invalid_name,engine_exists,create_failed,main_engine_not_destroyable,not_initialized,unknown) and unified engine list ordering (creation time, with the engine name as a stable tie-break). - Native engine management:
FlutterEngineGroupon Android, iOS and HarmonyOS,FlutterEngine+FlutterDartProjecton macOS,FlutterDesktopEngineCreateon Windows andfl_engine_new_headlesson Linux. - iOS and macOS share the
darwin/Swift package and one podspec, with both Swift Package Manager and CocoaPods support.