PullDownMenuItemTapHandler typedef

PullDownMenuItemTapHandler = void Function(BuildContext context, VoidCallback onTap)

Signature used by PullDownMenuItem to resolve how onTap callback is used.

Default behaviour is to pop the menu and than call the onTap.

Used by PullDownMenuItem.tapHandler.

See also:

Implementation

typedef PullDownMenuItemTapHandler = void Function(
  BuildContext context,
  VoidCallback onTap,
);