MongolPopupMenuItemSelected<T> typedef

MongolPopupMenuItemSelected<T> = void Function(T value)

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

Used by MongolPopupMenuButton.onSelected.

Implementation

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