useGesture property
Whether the animation can be triggered by tapping the widget.
When true:
- Tap down starts the lightning effect
- Tap up or tap cancel ends the lightning effect When false, the animation must be triggered manually or automatically. Default is false.
Implementation
final bool useGesture;