Type Definitions
The following type definitions are available globally.
-
A callback for when FlutterHeadlessDartRunner has attempted to start a Dart Isolate in the background.
Declaration
Objective-C
typedef void (^FlutterHeadlessDartRunnerCallback)(BOOL)
Parameters
success
YES if the Isolate was started and run successfully, NO otherwise.
-
A plugin registration callback.
Used for registering plugins with additional instances of
FlutterPluginRegistry
.Declaration
Objective-C
typedef void (*FlutterPluginRegistrantCallback)( NSObject<FlutterPluginRegistry> *_Nonnull)
Parameters
registry
The registry to register plugins with.