Expand description
Gesture handlers driven by pointer events.
TapGestures and DragGestures are state machines over
PointerEvents, attached with Modifier::pointer_input. Their state
lives in a modifier node, so a drag keeps accumulating while the view
recomposes.
Structs§
- DragEnd
- Drag
Gestures - Drag detection with a touch slop before the gesture starts.
- Drag
Start - Drag
Update - TapEvent
- A press that ended without moving past the touch slop.
- TapGestures
- Tap, double tap, and long press.
Traits§
- Pointer
Input Handler - Receives the pointer events of one hit region.