IPaginationScrollController<T> class
abstract
Base interface for pagination controllers with scroll capabilities.
- Inheritance
-
- Object
- IPaginationController<
T> - IPaginationScrollController
- Implementers
Constructors
Properties
- animationCurve → Curve
-
The curve of the animation.
no setterinherited
- animationDuration → Duration
-
The duration of the animation.
no setterinherited
-
cubit
→ IPaginationCubit<
T, IPaginationState< T> > -
The cubit exposing the REST-backed pagination state.
no setterinherited
- estimatedItemHeight → double
-
The estimated item height to animate to the specific item.
no setterinherited
-
filterListeners
→ List<
IPaginationFilterChangeListener< ?T> > -
The filter listeners to the cubit.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPublic → bool
-
If
isPublic = true, the controller will be live until the app is closed.no setterinherited - maxRetries → int
-
The maximum number of retries to animate to the specific item.
no setterinherited
- observerController → SliverObserverController?
-
SliverObserverController for scroll observation and management.
no setterinherited
-
orderListeners
→ List<
IPaginationOrderChangeListener< ?T> > -
The order listeners to the cubit.
no setterinherited
-
refreshListeners
→ List<
IPaginationRefreshedChangeListener> ? -
The refresh listeners to the cubit.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attachScrollMethods(
{required PaginationScrollToItem scrollToItem, required PaginationScrollToIndex scrollToIndex}) → void - Attaches the scroll methods that will be used for scrolling operations.
-
detachScrollMethods(
) → void - Detaches the scroll methods when the widget is disposed.
-
dispose(
) → void -
Disposes the controller and its resources.
inherited
-
disposeScrollMethods(
) → void - Disposes scroll resources.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scrollToIndex(
int index, {Duration duration = const Duration(milliseconds: 250), Curve curve = Curves.linearToEaseOut, double alignment = 0, double offset = 0}) → Future< bool> - Scrolls to a specific index in the item list.
-
scrollToItem(
String itemPath, {Duration duration = const Duration(milliseconds: 250), Curve curve = Curves.linearToEaseOut, double alignment = 0, double offset = 0}) → Future< bool> - Scrolls to a specific item by Path.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited