infinite_scroll_pagination library

Classes

AlignedGridView
A scrollable, 2D array of widgets placed according to the aligned layout.
AppendedSliverChildBuilderDelegate
A SliverChildBuilderDelegate with an extra item (appendixBuilder) added to the end.
AppendedSliverGrid
MasonryGridView
A scrollable, 2D array of widgets placed according to the masonry layout.
Omit<T>
Sentinel value to omit a parameter from a copyWith call. This is used to distinguish between a parameter being omitted and a parameter being set to null. See https://github.com/dart-lang/language/issues/140 for why this is necessary.
PagedAlignedGridView<PageKeyType, ItemType>
A AlignedGridView with pagination capabilities.
PagedChildBuilderDelegate<ItemType>
Supplies builders for the visual components of paged views.
PagedGridView<PageKeyType, ItemType>
A GridView with pagination capabilities.
PagedLayoutBuilder<PageKeyType, ItemType>
Facilitates creating infinitely scrolled paged layouts.
PagedListView<PageKeyType, ItemType>
A ListView with pagination capabilities.
PagedMasonryGridView<PageKeyType, ItemType>
A MasonryGridView with pagination capabilities.
PagedPageView<PageKeyType, ItemType>
Paged PageView with progress and error indicators displayed as the last item.
PagedSliverAlignedGrid<PageKeyType, ItemType>
A SliverAlignedGrid with pagination capabilities.
PagedSliverGrid<PageKeyType, ItemType>
Paged SliverGrid with progress and error indicators displayed as the last item.
PagedSliverList<PageKeyType, ItemType>
A SliverList with pagination capabilities.
PagedSliverMasonryGrid<PageKeyType, ItemType>
A SliverMasonryGrid with pagination capabilities.
PagingController<PageKeyType, ItemType>
A controller to handle a PagingState.
PagingListener<PageKeyType, ItemType>
PagingState<PageKeyType, ItemType>
Represents the state of a paginated layout.
PagingStateBase<PageKeyType, ItemType>
The default implementation of PagingState.
QuiltedGridRepeatPattern
Defines how a pattern is repeating.
QuiltedGridTile
A tile for SliverQuiltedGridDelegate.
RenderSliverMasonryGrid
A sliver that places multiple box children in a two dimensional arrangement.
SliverAlignedGrid
A sliver that places multiple box children in a two dimensional arrangement.
SliverMasonryGrid
A sliver that places multiple box children in a two dimensional arrangement.
SliverMasonryGridParentData
Parent data structure used by RenderSliverMasonryGrid.
SliverQuiltedGridDelegate
Controls the layout of a quilted grid.
SliverSimpleGridDelegate
Controls the layout of tiles in a some slivers.
SliverSimpleGridDelegateWithFixedCrossAxisCount
Creates grid layouts with a fixed number of tiles in the cross axis.
SliverSimpleGridDelegateWithMaxCrossAxisExtent
Creates grid layouts with tiles that each have a maximum cross-axis extent.
SliverStairedGridDelegate
Controls the layout of tiles in a staired grid.
SliverWovenGridDelegate
Controls the layout of tiles in a woven grid.
StaggeredGrid
A grid which lays out children in a staggered arrangement. Each child can have a different size. Wrap your children with a StaggeredGridTile to specify their size if it's different from a 1x1 tile.
StaggeredGridTile
Represents the size of a StaggeredGrid's tile.
StairedGridTile
A tile of a staired pattern.
WovenGridTile
A tile of a woven pattern.

Enums

PagedLayoutProtocol
The Flutter layout protocols supported by PagedLayoutBuilder.
PagingStatus
All possible status for a pagination.

Extensions

PagingControllerExtension on PagingController<PageKeyType, ItemType>
Helper extensions to quickly access the state of a PagingController.
PagingStateExtension on PagingState<PageKeyType, ItemType>
PagingStatusExtension on PagingState
Extension methods for PagingState to determine the current status.

Typedefs

CompletedListingBuilder = Widget Function(BuildContext context, IndexedWidgetBuilder itemWidgetBuilder, int itemCount, WidgetBuilder? noMoreItemsIndicatorBuilder)
Defaulted<T> = FutureOr<T>
ErrorListingBuilder = Widget Function(BuildContext context, IndexedWidgetBuilder itemWidgetBuilder, int itemCount, WidgetBuilder newPageErrorIndicatorBuilder)
FetchPageCallback<PageKeyType, ItemType> = FutureOr<List<ItemType>> Function(PageKeyType pageKey)
A callback to fetch a page.
ItemWidgetBuilder<ItemType> = Widget Function(BuildContext context, ItemType item, int index)
LoadingListingBuilder = Widget Function(BuildContext context, IndexedWidgetBuilder itemWidgetBuilder, int itemCount, WidgetBuilder newPageProgressIndicatorBuilder)
NextPageCallback = VoidCallback
Called to request a new page of data.
NextPageKeyCallback<PageKeyType, ItemType> = PageKeyType? Function(PagingState<PageKeyType, ItemType> state)
A callback to get the next page key. If this function returns null, it indicates that there are no more pages to load.
SliverGridBuilder = Widget Function(int childCount, SliverChildDelegate delegate)
Usually returns a SliverWithKeepAliveWidget
SliverSimpleGridDelegateBuilder = SliverSimpleGridDelegate Function(int childCount)