Interface FlutterPlugin

    • Method Detail

      • onDetachedFromEngine

        void onDetachedFromEngine​(@NonNull
                                  FlutterPlugin.FlutterPluginBinding binding)
        This FlutterPlugin has been removed from a FlutterEngine instance.

        The binding passed to this method is the same instance that was passed in onAttachedToEngine(FlutterPluginBinding). It is provided again in this method as a convenience. The binding may be referenced during the execution of this method, but it must not be cached or referenced after this method returns.

        FlutterPlugins should release all resources in this method.