Scroller class abstract

One mechanical step on some scrollable.

Implementers

Constructors

Scroller()

Properties

hashCode → int
The hash code for this object.
no setterinherited
position → double?
Current logical scroll position (e.g. position.pixels).
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
positionFromSnapshot(UiSnapshot snapshot) → double?
Like position, but reuses an already-captured snapshot instead of forcing the scroller to capture its own.
reset() → void
Clear any per-exploration state (exhaustion sets, caches, step counters).
scrollByPixels(double pixels) → Future<bool>
Scroll by an exact pixels delta (positive = forward / toward end, negative = backward / toward start).
stepBackward() → Future<bool>
Advance one step backward (toward the start of the scrollable).
stepForward() → Future<bool>
Advance one step forward.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited