PaginationStatus enum
Represents the current status of pagination.
- Inheritance
- Available extensions
Values
- initial → const PaginationStatus
-
Initial state, no data loaded yet.
- loadingFirstPage → const PaginationStatus
-
Loading the first page.
- loaded → const PaginationStatus
-
First page loaded successfully with data.
- loadingMore → const PaginationStatus
-
Loading subsequent pages (not the first page).
- firstPageError → const PaginationStatus
-
Error occurred while loading the first page.
- loadMoreError → const PaginationStatus
-
Error occurred while loading subsequent pages.
- empty → const PaginationStatus
-
No items found (empty state).
- completed → const PaginationStatus
-
All pages have been loaded (end of list).
- refreshing → const PaginationStatus
-
Refreshing the list (reloading from first page).
Properties
- canLoadMore → bool
-
Available on PaginationStatus, provided by the PaginationStatusX extension
Whether more pages can be loaded.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasItems → bool
-
Available on PaginationStatus, provided by the PaginationStatusX extension
Whether there are items to display.no setter - index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isCompleted → bool
-
Available on PaginationStatus, provided by the PaginationStatusX extension
Whether all data has been loaded.no setter - isEmpty → bool
-
Available on PaginationStatus, provided by the PaginationStatusX extension
Whether showing empty state.no setter - isError → bool
-
Available on PaginationStatus, provided by the PaginationStatusX extension
Whether the status indicates an error occurred.no setter - isFirstPageError → bool
-
Available on PaginationStatus, provided by the PaginationStatusX extension
Whether showing first page error (no items to show).no setter - isInitialLoading → bool
-
Available on PaginationStatus, provided by the PaginationStatusX extension
Whether in first page loading state (no items yet).no setter - isLoading → bool
-
Available on PaginationStatus, provided by the PaginationStatusX extension
Whether the status indicates loading (first page or more).no setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
PaginationStatus> - A constant List of the values in this enum, in order of their declaration.