noPopTapHandler static method
An additional, pre-made tap handler for PullDownMenuItem.
The behaviour is to call the onTap
without popping the menu.
Implementation
static void noPopTapHandler(BuildContext _, VoidCallback? onTap) =>
onTap?.call();