5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINREGISTRARMACOS_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINREGISTRARMACOS_H_
8 #import <Cocoa/Cocoa.h>
40 @property(nonnull, readonly) id<FlutterBinaryMessenger>
messenger;
46 @property(nonnull, readonly) id<FlutterTextureRegistry>
textures;
57 @property(nullable, readonly) NSView*
view;
75 - (void)addMethodCallDelegate:(nonnull
id<
FlutterPlugin>)delegate
95 withId:(nonnull NSString*)factoryId;
109 - (void)publish:(nonnull NSObject*)value;
119 - (nullable NSObject*)valuePublishedByPlugin:(nonnull NSString*)pluginKey;
128 - (nonnull NSString*)lookupKeyForAsset:(nonnull NSString*)asset;
139 - (nonnull NSString*)lookupKeyForAsset:(nonnull NSString*)asset
140 fromPackage:(nonnull NSString*)package;
160 @protocol FlutterPluginRegistry <NSObject>
177 - (nullable NSObject*)valuePublishedByPlugin:(nonnull NSString*)pluginKey;
#define FLUTTER_DARWIN_EXPORT
NSViewController * viewController
id< FlutterBinaryMessenger > messenger
id< FlutterTextureRegistry > textures