glowOnTapOnly property

bool glowOnTapOnly
final

Whether the glow should act as a momentary tap indicator.

If true, the glow will appear on tap but will automatically fade out if the user starts dragging. It will not reappear until a new tap starts.

Defaults to false for GlassMenu: the menu has a dismiss barrier and no scroll rows, so the specular light should continue to track the finger as it moves between items. Set to true only on menus that contain scrollable content where a drag gesture must not leave a persistent glare behind.

Implementation

final bool glowOnTapOnly;