handleTap method
- @protected
@protected
The handler for when the user selects the menu item.
Used by the InkWell inserted by the build method.
By default, uses Navigator.pop to return the PopupMenuItem.value from the menu route.
Implementation
@protected
void handleTap() {
Navigator.pop<T>(context, widget.value);
}