ScrollPhase enum

Where a scroll event sits within its gesture. A phaseless wheel only ever reports update. The ordinals cross the native binding as-is, so do not reorder them.

Inheritance
Available extensions

Values

begin → const ScrollPhase

Stops any running fling and primes velocity tracking.

update → const ScrollPhase

The user is still driving the gesture, and the only phase a detented wheel reports.

end → const ScrollPhase

Contact ended; the runtime flings from the velocity it accumulated. Hosts whose platform generates its own momentum never send this.

momentum → const ScrollPhase

Platform-generated after release. Applied directly, never flung on top of; closed by going idle rather than by an end.

inertiaCancel → const ScrollPhase

Contact landed during momentum. Halts motion; delta is ignored.

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<ScrollPhase>
A constant List of the values in this enum, in order of their declaration.