Scroller class abstract
One mechanical step on some scrollable.
Constructors
- Scroller()
Properties
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
snapshotinstead 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
pixelsdelta (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