| Flutter macOS Embedder |

Instance Methods | List of all members
FlutterMenuPlugin() Category Reference

`#import <FlutterMenuPlugin_Internal.h>`

## Instance Methods
(instancetype) | - initWithChannel:
(void) | - replaceAppName:
(NSMenuItem *) | - findProvidedMenuItem:ofType:
(NSMenuItem *) | - createPlatformProvidedMenu:
(NSMenuItem *) | - menuItemFromFlutterRepresentation:
(void) | - flutterMenuItemSelected:
(void) | - setMenus:
(void) | - handleMethodCall:result:

## Detailed Description

Internal methods used in testing.

Definition at line 192 of file FlutterMenuPlugin.mm.

## Method Documentation

## ◆ createPlatformProvidedMenu:

- (NSMenuItem*) createPlatformProvidedMenu: |  | (flutter::PlatformProvidedMenu) | type |

## ◆ findProvidedMenuItem:ofType:

- (NSMenuItem*) findProvidedMenuItem: |  | (NSMenu *) | menu
ofType: |  | (SEL) | selector

## ◆ flutterMenuItemSelected:

- (void) flutterMenuItemSelected: |  | (id) | sender |

## ◆ handleMethodCall:result:

- (void) handleMethodCall: |  | (FlutterMethodCall *) | call
result: |  | (FlutterResult) | result

## ◆ initWithChannel:

- (instancetype) initWithChannel: |  | (FlutterMethodChannel *) | channel |

## ◆ menuItemFromFlutterRepresentation:

- (NSMenuItem*) menuItemFromFlutterRepresentation: |  | (NSDictionary *) | representation |

## ◆ replaceAppName:

- (void) replaceAppName: |  | (NSArray< NSMenuItem * > *) | items |

## ◆ setMenus:

- (void) setMenus: |  | (nonnull NSDictionary *) | representation |

The documentation for this category was generated from the following files:

- shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin.mm
- shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin_Internal.h