Interface FlutterEngineProvider

    • Method Detail

      • provideFlutterEngine

        FlutterEngine provideFlutterEngine​(@NonNull
                                           Context context)
        Returns the FlutterEngine that should be used by a child FlutterFragment.

        This method may return a new FlutterEngine, an existing, cached FlutterEngine, or null to express that the FlutterEngineProvider would like the FlutterFragment to provide its own FlutterEngine instance.

        context - The current context. e.g. An activity.
        The Flutter engine.