PagedSliverGrid<PageKeyType, ItemType> constructor

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

Implementation

const PagedSliverGrid({
  required this.pagingController,
  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,
  Key? key,
}) : super(key: key);