DragHybrid enum
How a Stage receives pointer additions while an Origin is dragging. Cascade: per-gesture > per-Origin > per-Stage > lock default.
Values
- lock → const DragHybrid
-
Stage pointers are ignored — Origin's drag stays sole controller.
- asDrag → const DragHybrid
-
Stage pointers join the drag, contributing to the focal x/y. Origin's drag config (bounds, friction, override) continues to apply. No scale math, even with multiple pointers.
- asScale → const DragHybrid
-
Stage pointers promote drag → scale via Origin's
scalemap. Resolver re-runs against that map with the new pointer count to pick the matching ScaleStart.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
DragHybrid> - A constant List of the values in this enum, in order of their declaration.