paginated_helpers library

Functions

createPaginatedController<T, Q>({required SearchProvider<T, Q> searchProvider, int pageSize = PaginatedSearchController.defaultPageSize, Duration debounceDuration = PaginatedSearchController.defaultDebounceDuration, Q? initialQuery, bool debugLoggingEnabled = true}) → AutoDisposeNotifierProvider<PaginatedSearchController<T, Q>, PaginatedState<T, Q>>
Create a paginated controller provider easily. For example

Typedefs

PaginatedSearchControllerProvider<T, Q> = AutoDisposeNotifierProvider<PaginatedSearchController<T, Q>, PaginatedState<T, Q>>
PaginationErrorBuilder = Widget Function(BuildContext context, Object? error, StackTrace? stackTrace)