onCanceled property

PopupMenuCanceled? onCanceled
final

A function called whenever the user doesn't select an item and instead closes the menu.

Implementation

final PopupMenuCanceled? onCanceled;