persistPressOnDrag property

bool persistPressOnDrag
final

Whether the pressed glass distortion persists while the finger is held down, even if dragged far away from the button.

Forwarded to the underlying GlassButton.persistPressOnDrag. See GlassButton.persistPressOnDrag for full documentation.

Defaults to true.

Implementation

final bool persistPressOnDrag;