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
7
#import "
flutter/shell/platform/darwin/common/framework/Headers/FlutterBinaryMessenger.h
"
8
#import "
flutter/shell/platform/darwin/macos/framework/Headers/FlutterPluginMacOS.h
"
9
#import "
flutter/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h
"
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
shell
platform
darwin
macos
framework
Source
FlutterMenuPlugin.h
Generated by
1.8.17