onTap property
Called when the item is tapped.
Never null: an icon in a navigation bar that does nothing is a bug, so GlassBarItem.icon requires one. Passive GlassBarItem.custom content gets an internal no-op instead, keeping every reader of it callable. GlassBarItem.menu does the same — its tap opens the menu, which the cluster drives directly.
Implementation
final VoidCallback onTap;