pagination_controller library

Classes

CubitPaginatedListBuilder<ItemType, PM extends PaginationMethod, ErrorType>
CubitPaginationController<ItemType, PM extends PaginationMethod, ErrorType>
A pagination controller that uses the Bloc Cubit pattern for state management.
DataListPCState<ItemType, PM extends PaginationMethod, ErrorType>
Represents a state with data in the list.
EmptyListPCState<ItemType, PM extends PaginationMethod, ErrorType>
Represents an empty list state.
ErrorListPCState<ItemType, PM extends PaginationMethod, ErrorType>
Represents an error state with an optional description.
ErrorPaginationResult<ItemType, PM extends PaginationMethod, ErrorType>
Represents a failed pagination result.
FlutterPaginatedListBuilder<ItemType, PM extends PaginationMethod, ErrorType>
FlutterPaginationController<ItemType, PM extends PaginationMethod, ErrorType>
A pagination controller that uses Flutter's ChangeNotifier for state management.
OffsetPagination
PagePagination
PaginationController<ItemType, PM extends PaginationMethod, ErrorType>
An abstract class that defines a pagination controller.
PaginationControllerState<ItemType, PM extends PaginationMethod, ErrorType>
Base class that defines the state of the pagination controller.
PaginationMethod
Abstract class that defines the pagination method interface.
PaginationResult<ItemType, PM extends PaginationMethod, ErrorType>
Base class for pagination result.
SuccessPaginationResult<ItemType, PM extends PaginationMethod, ErrorType>
Represents a successful pagination result.

Mixins

PaginationHandler<ItemType, PM extends PaginationMethod, ErrorType>
Mixin that provides pagination handling logic.