Add bidirectional host bridge

This commit is contained in:
gem
2026-06-09 16:26:37 +08:00
parent 7b3c5cb0f5
commit 0d4fbd030c
17 changed files with 632 additions and 3 deletions

View File

@@ -4,6 +4,15 @@ export 'runtime/game/flame_lua_game.dart' show FlameLuaGame;
export 'runtime/game/lua_game_widget.dart' show LuaGameWidget;
export 'runtime/game/runtime_locale.dart' show RuntimeLocaleResolver;
export 'runtime/game/runtime_options.dart' show RuntimeOptions;
export 'runtime/host/runtime_host_bridge.dart'
show
RuntimeHostBridge,
RuntimeHostBridgeManager,
RuntimeHostCall,
RuntimeHostCallHandler,
RuntimeHostEventType,
RuntimeHostNotification,
RuntimeHostNotifyHandler;
export 'runtime/packages/game_package_repository.dart'
show
AssetGamePackageRepository,