PagedSliverGrid<PageKeyType, ItemType> constructor

const PagedSliverGrid<PageKeyType, ItemType>({
  1. required PagingState<PageKeyType, ItemType> state,
  2. required NextPageCallback fetchNextPage,
  3. required PagedChildBuilderDelegate<ItemType> builderDelegate,
  4. required SliverGridDelegate gridDelegate,
  5. bool addAutomaticKeepAlives = true,
  6. bool addRepaintBoundaries = true,
  7. bool addSemanticIndexes = true,
  8. bool showNewPageProgressIndicatorAsGridChild = true,
  9. bool showNewPageErrorIndicatorAsGridChild = true,
  10. bool showNoMoreItemsIndicatorAsGridChild = true,
  11. bool shrinkWrapFirstPageIndicators = false,
  12. Key? key,
})

Implementation

const PagedSliverGrid({
  required this.state,
  required this.fetchNextPage,
  required this.builderDelegate,
  required this.gridDelegate,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.showNewPageProgressIndicatorAsGridChild = true,
  this.showNewPageErrorIndicatorAsGridChild = true,
  this.showNoMoreItemsIndicatorAsGridChild = true,
  this.shrinkWrapFirstPageIndicators = false,
  super.key,
});