onTap property

VoidCallback? onTap
final

Called when the menu item is tapped.

Implementation

final VoidCallback? onTap;