onTap property
The action this item represents.
To specify how this action is resolved, tapHandler is used.
See also:
- defaultTapHandler, a default tap handler.
- noPopTapHandler, a tap handler that immediately calls onTap without popping the menu.
Implementation
final VoidCallback? onTap;