Flutter Engine
The Flutter Engine
|
Properties | |
id< FlutterPlugin > | plugin |
FlutterMethodChannel * | channel |
Properties inherited from <FlutterPluginRegistrar> | |
id< FlutterBinaryMessenger > | messenger |
id< FlutterTextureRegistry > | textures |
NSView * | view |
Definition at line 22 of file FlutterMenuPluginTest.mm.
|
implementation |
Registers the plugin as a receiver of NSApplicationDelegate
calls.
delegate | The receiving object, such as the plugin's main class. |
Reimplemented from <FlutterPluginRegistrar>.
Definition at line 24 of file FlutterMenuPluginTest.mm.
|
implementation |
Registers |delegate| to receive handleMethodCall:result: callbacks for the given |channel|.
Reimplemented from <FlutterPluginRegistrar>.
Definition at line 24 of file FlutterMenuPluginTest.mm.
|
implementation |
Returns the file name for the given asset. The returned file name can be used to access the asset in the application's main bundle.
asset | The name of the asset. The name can be hierarchical. |
Reimplemented from <FlutterPluginRegistrar>.
Definition at line 24 of file FlutterMenuPluginTest.mm.
|
implementation |
Returns the file name for the given asset which originates from the specified package. The returned file name can be used to access the asset in the application's main bundle.
asset | The name of the asset. The name can be hierarchical. |
package | The name of the package from which the asset originates. |
Reimplemented from <FlutterPluginRegistrar>.
Definition at line 24 of file FlutterMenuPluginTest.mm.
|
implementation |
Publishes a value for external use of the plugin.
Plugins may publish a single value, such as an instance of the plugin's main class, for situations where external control or interaction is needed.
The published value will be available from the FlutterPluginRegistry
. Repeated calls overwrite any previous publication.
value | The value to be published. |
Reimplemented from <FlutterPluginRegistrar>.
Definition at line 24 of file FlutterMenuPluginTest.mm.
|
implementation |
Registers a FlutterPlatformViewFactory
for creation of platform views.
Plugins expose NSView
for embedding in Flutter apps by registering a view factory.
factory | The view factory that will be registered. |
factoryId | A unique identifier for the factory, the Dart code of the Flutter app can use this identifier to request creation of a NSView by the registered factory. |
Reimplemented from <FlutterPluginRegistrar>.
Definition at line 24 of file FlutterMenuPluginTest.mm.
|
readnonatomicassign |
Definition at line 24 of file FlutterMenuPluginTest.mm.
|
readnonatomicassign |
Definition at line 23 of file FlutterMenuPluginTest.mm.