shortcut property Null safety

MenuSerializableShortcut? shortcut
final

The optional shortcut that selects this PlatformMenuItem.

This shortcut is only enabled when onSelected is set.

Implementation

final MenuSerializableShortcut? shortcut;