onItemTap property
final
Called when the menu item is tapped.
If the callback returns true, then the tap is considered completely
handled, and no further action will be done.
If onItemTap is null, or returns null or false, the widget will
also pop the route with the given value, if any.
Implementation
final OnIconMenuTap? onItemTap;