PagedSliverGrid<PageKeyType, ItemType> constructor

const PagedSliverGrid<PageKeyType, ItemType>({
  1. required PagedChildBuilderDelegate<PagingItem> builderDelegate,
  2. required SliverGridDelegate gridDelegate,
  3. bool addAutomaticKeepAlives = true,
  4. bool addRepaintBoundaries = true,
  5. bool addSemanticIndexes = true,
  6. bool showNewPageProgressIndicatorAsGridChild = true,
  7. bool showNewPageErrorIndicatorAsGridChild = true,
  8. bool showNoMoreItemsIndicatorAsGridChild = true,
  9. bool shrinkWrapFirstPageIndicators = false,
  10. Key? key,
  11. required PagingDataController<dynamic, PagingItem> pagingBuilderController,
  12. PagedChildStatusBuilderDelegate<PagingItem>? statusBuilderDelegate,
  13. PagedLayoutProtocol? layoutProtocol,
  14. bool? persistent,
  15. bool? forceUseInitData,
})

Implementation

const PagedSliverGrid({
  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,
  required this.pagingBuilderController,
  this.statusBuilderDelegate,
  this.layoutProtocol,
  this.persistent,
  this.forceUseInitData,
});