onSelectionChanged property
The callback that is called when the menu item is selected
Implementation
final void Function(
BuildContext context,
ValueKey<String> selectedMenuItemKey,
) onSelectionChanged;
The callback that is called when the menu item is selected
final void Function(
BuildContext context,
ValueKey<String> selectedMenuItemKey,
) onSelectionChanged;