GroupedItemScrollController class

Controller to jump or scroll to a particular element the list.

See ItemScrollController.

Properties

hashCode int
The hash code for this object.
no setterinherited
isAttached bool
Whether any StickyGroupedListView 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, bool automaticAlignment = true}) → void
Jumps to the element at index. The element will be placed under the group header. To set a custom alignment set automaticAlignment to false.
jumpToElement({required dynamic identifier, double alignment = 0, bool automaticAlignment = true}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scrollTo({required int index, required Duration duration, double alignment = 0, bool automaticAlignment = true, Curve curve = Curves.linear, List<double> opacityAnimationWeights = const [40, 20, 40]}) Future<void>
Scrolls to the element at index. The element will be placed under the group header. To set a custom alignment set automaticAlignment to false.
scrollToElement({required dynamic identifier, required Duration duration, double alignment = 0, bool automaticAlignment = true, Curve curve = Curves.linear, List<double> opacityAnimationWeights = const [40, 20, 40]}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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