onTap property
Called when the item is tapped.
Not used when menuItems is non-null — the tap opens the menu instead.
Implementation
final VoidCallback onTap;
Called when the item is tapped.
Not used when menuItems is non-null — the tap opens the menu instead.
final VoidCallback onTap;