onSelected property

GetPopupMenuItemSelected<T>? onSelected
final

Called when the user selects a value from the popup menu.

If the popup menu is dismissed without selecting a value, onCanceled is called instead.

Implementation

final GetPopupMenuItemSelected<T>? onSelected;