onCanceled property

PopupMenuCanceled? onCanceled
final

Called when the user dismisses the popup menu without selecting an item.

If the user selects a value, onSelected is called instead.

Implementation

final PopupMenuCanceled? onCanceled;