CompositeScroller class

Composite Scroller that walks multiple host scrollables in the ScrollPlan order — vertical (largest first), then horizontal strips, topmost layer only.

Inheritance

Constructors

CompositeScroller({required UiSnapshot? captureSnapshot(), double cycleTolerancePx = 8.0})

Properties

captureSnapshot → UiSnapshot? Function()
final
cycleTolerancePx → double
Threshold for the extremum-based cycle detector.
final
hashCode → int
The hash code for this object.
no setterinherited
position → double?
Always returns null — by design.
no setteroverride
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.
inherited
reset() → void
Clear all per-exploration state: exhaustion sets, visited-offset history, sub-scroller cache.
override
scrollByPixels(double pixels) → Future<bool>
Coarse step on alignment requests, with a refuse-small-delta guard.
override
stepBackward() → Future<bool>
Advance one step backward (toward the start of the scrollable).
override
stepForward() → Future<bool>
Advance one step forward.
override
toString() → String
A string representation of this object.
inherited

Operators

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