pagination_manager library

Classes

FetchItemsFailure
FetchItemsLoaded<T>
LoadingFromPagination
PaginatedList<T>
A widget that displays a paginated list with optional refresh and error handling capabilities.
PaginatedListWithSearchManager<T>
A widget that displays a paginated list with optional refresh and error handling capabilities.
PaginatedManagerList<T>
A versatile widget for displaying a paginated list with robust error handling, refresh capabilities, and lazy loading. This widget integrates with the PaginationManagerCubit to efficiently manage pagination, loading, and error states.
PaginatedManagerListWithSearchManager<T>
A versatile widget for displaying a paginated list with robust error handling, refresh capabilities, and lazy loading. This widget integrates with the PaginationManagerCubitWithSearch to efficiently manage pagination, loading, and error states.
PaginatedRepository<T>
Interface for fetching paginated items from a repository.
PaginatedRepositoryWithSearch<T>
An interface that extends PaginatedRepository and PaginatedSearchRepository.
PaginatedSearchRepository<T>
Interface for fetching paginated search items from a repository.
PaginationManager<T>
A class for managing paginated data.
PaginationManagerCubit<T>
A Cubit that manages a PaginationManager and emits PaginationManagerStates. It provides methods to fetch initial items and fetch the next page of items.
PaginationManagerInitial
PaginationManagerLoading
PaginationManagerState
PaginationManagerWithSearch<T>
A class that holds a PaginationManager and a PaginationSearchManager.
PaginationResult<T>
A class that represents the result of a pagination operation.
PaginationSearchManager<T>
A class for managing paginated search data.

Extensions

PaginationResultPatterns on PaginationResult<T>
Adds pattern-matching-related methods to PaginationResult.