美文网首页
flutter项目集成需要掌握以下内容

flutter项目集成需要掌握以下内容

作者: nice_demo | 来源:发表于2021-04-01 15:26 被阅读0次

    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怎样接入到现有框架?

    相关文章

      网友评论

          本文标题:flutter项目集成需要掌握以下内容

          本文链接:https://www.haomeiwen.com/subject/tlmtkltx.html