ItemScrollController class
Controller to jump or scroll to a particular position in a ScrollablePositionedList.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAttached → bool
-
Whether any ScrollablePositionedList objects are attached this object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
jumpTo(
{required int index, double alignment = 0}) → void -
Immediately, without animation, reconfigure the list so thsuper.scrollControllerPrimary ?? super.scrollControllerSecondaryat the item at
index
's leading edge is at the givenalignment
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scrollTo(
{required int index, double alignment = 0, required Duration duration, Curve curve = Curves.linear, List< double> opacityAnimationWeights = const [40, 20, 40]}) → Future<void> -
Animate the list over
duration
using the givencurve
such that the item atindex
ends up with its leading edge at the givenalignment
. See jumpTo for an explanation of alignment. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited