PaginationState<T extends Object> class
The current item's list, error, and next page key state for a paginated widget.
- Annotations
Constructors
-
PaginationState.new({Object? snapshot, List<
T> ? items, dynamic error}) -
const
Properties
- error → dynamic
-
The current error, if any.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
items
→ List<
T> ? -
List with all items loaded so far.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snapshot → Object?
-
The key for the next page to be fetched.
final
- status → PaginationStatus
-
The current pagination status.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override