type property

PlatformProvidedMenuItemType type
final

The type of default menu this is.

See PlatformProvidedMenuItemType for the different types available. Not all of the types will be available on every platform. Use hasMenu to determine if the current platform has a given default menu item.

If the platform does not support the given type, then the menu item will throw an ArgumentError in debug mode.

Implementation

final PlatformProvidedMenuItemType type;