1 怎样集成到现有项目?两种方式aar和源码依赖?
2 flutter 4个工程区别?
3 flutter 和Android怎样通讯?
FlutterEngine flutterEngine= new FlutterEngine(this);
flutterEngine.getNavigationChannel().setInitialRoute("your/route/here");
// Start executing Dart code to pre-warm the FlutterEngine.
flutterEngine.getDartExecutor().executeDartEntrypoint(
DartExecutor.DartEntrypoint.createDefault()
);
// Cache the FlutterEngine to be used by FlutterActivity or FlutterFragment.
FlutterEngineCache
.getInstance()
.put("my_engine_id", flutterEngine);
4 flutter打成apk怎样接入到现有框架?
网友评论