onTap property Null safety

VoidCallback? onTap
final

Called when the menu item is tapped.

Implementation

final VoidCallback? onTap;