Flutter macOS Embedder
FlutterMenuPlugin.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #import <AppKit/AppKit.h>
6 
10 
11 /**
12  * A plugin to configure and control the native system menu.
13  *
14  * Responsible for bridging the native macOS menu system with the Flutter
15  * framework's PlatformMenuBar class, via method channels.
16  */
17 @interface FlutterMenuPlugin : NSObject <FlutterPlugin>
18 
19 /**
20  * Registers a FlutterMenuPlugin with the given registrar.
21  */
22 + (void)registerWithRegistrar:(nonnull id<FlutterPluginRegistrar>)registrar;
23 @end
FlutterPlugin-p
Definition: FlutterPluginMacOS.h:26
FlutterPluginMacOS.h
FlutterMenuPlugin
Definition: FlutterMenuPlugin.h:17
FlutterPluginRegistrar-p
Definition: FlutterPluginRegistrarMacOS.h:25
FlutterBinaryMessenger.h
FlutterViewController.h