onSelected property Null safety
final
An optional callback that is called when this PlatformMenuItem is selected.
If unset, this menu item will be disabled.
Implementation
@override
final VoidCallback? onSelected;
An optional callback that is called when this PlatformMenuItem is selected.
If unset, this menu item will be disabled.
@override
final VoidCallback? onSelected;