| 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 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMENUPLUGIN_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMENUPLUGIN_H_
7
8 #import <AppKit/AppKit.h>
9
10 #import "flutter/shell/platform/darwin/common/framework/Headers/FlutterBinaryMessenger.h"
11 #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterPluginMacOS.h"
12 #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h"
13
14 /**
15 * A plugin to configure and control the native system menu.
16 *
17 * Responsible for bridging the native macOS menu system with the Flutter
18 * framework's PlatformMenuBar class, via method channels.
19 */
20 @interface FlutterMenuPlugin : NSObject <FlutterPlugin>
21
22 /**
23 * Registers a FlutterMenuPlugin with the given registrar.
24 */
25 + (void)registerWithRegistrar:(nonnull id<FlutterPluginRegistrar>)registrar;
26 @end
27
28 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMENUPLUGIN_H_
FlutterBinaryMessenger.h
FlutterPluginMacOS.h
FlutterViewController.h
FlutterPlugin-p
Definition: FlutterPluginMacOS.h:29
FlutterPluginRegistrar-p
Definition: FlutterPluginRegistrarMacOS.h:28