Gesture class sealed
Sealed parent for gesture kinds.
- Implementers
Properties
- bounds → GestureBounds
-
Directional bounds active during this gesture (drag) or directional
overflow during scale (rect edges past container edges).
final
- builder → StageBuilder?
-
final
- constraints → GestureConstraints?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onRelease → OnRelease?
-
Called when the gesture ends with a ReleaseContext — raw end-state
inputs. Consumer calls
Stage.of(context).release(Release.toDisplay(data))for the default plan, or builds a custom plan and calls.run(...)/.backToOrigin(data)/ etc.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleVelocityCancel → double?
-
Per-gesture strength of scale-velocity-based translation cancellation
in
[0, 1]. Cascade fallback when null: DisplayConfig.scaleVelocityCancel → Origin.scaleVelocityCancel → Stage.scaleVelocityCancel → 0.5. Most relevant on ScaleGesture; a no-op on DragGesture since scaleVelocity is ~0 there.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited