Components/paginator library

Classes

Paginator<T>
Paginator has 3 constructors Paginator.listView, Paginator.gridView, Paginator.pageView Paginator.listView, Paginator.gridView and Paginator.pageView are descendants of ListView, GridView and PageView. Paginator.listView, Paginator.gridView and Paginator.pageView got all the features of their ancestors and they are need to provide additional properties that are essential in doing their task.
PaginatorState<T>

Enums

ListType

Typedefs

EmptyListWidgetBuilder<T> = Widget Function(T pageData)
ErrorWidgetBuilder<T> = Widget Function(T pageData, RetryListener retryListener)
ListItemBuilder = Widget Function(dynamic itemData, int index)
LoadingWidgetBuilder = Widget Function()
PageErrorChecker<T> = bool Function(T pageData)
PageItemCounter<T> = int Function(T pageData)
PageItemsGetter<T> = List? Function(T pageData)
PageLoadFuture<T> = Future<T> Function(int page)
RetryListener = void Function()
TotalItemsGetter<T> = int? Function(T pageData)