PopupMenuItemSelected<T> typedef

PopupMenuItemSelected<T> = void Function(T value)

Signature for the callback invoked when a menu item is selected. The argument is the value of the BottomPopupMenuItem that caused its menu to be dismissed.

Used by BottomPopupMenuButton.onSelected.

Implementation

typedef PopupMenuItemSelected<T> = void Function(T value);