PaginationHelper class
Helper class to manage pagination in Flutter apps.
Constructors
- PaginationHelper.new({required ScrollController controller, required OnPaginationDataLoadingRequest onLoad, required OnPaginationDataLoadingPermission onLoading, double preload = 1000})
- Constructs a PaginationHelper with the provided parameters.
Properties
- controller → ScrollController
-
Scroll controller for the list view.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onLoad → OnPaginationDataLoadingRequest
-
Callback function to load more data.
final
- onLoading → OnPaginationDataLoadingPermission
-
Callback function to check if loading is in progress.
final
- preload → double
-
Distance to preload more data, defaults to 1000.
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited