onSelected property

MongolPopupMenuItemSelected<T>? onSelected
final

Called when the user selects a value from the popup menu created by this button.

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

Implementation

final MongolPopupMenuItemSelected<T>? onSelected;