PagedSliverAlignedGrid<PageKeyType, ItemType> constructor

const PagedSliverAlignedGrid<PageKeyType, ItemType>({
  1. required PagedChildBuilderDelegate<PagingItem> builderDelegate,
  2. required SliverSimpleGridDelegateBuilder gridDelegateBuilder,
  3. double mainAxisSpacing = 0,
  4. double crossAxisSpacing = 0,
  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. required PagingDataController<dynamic, PagingItem> pagingDataController,
  13. PagedChildStatusBuilderDelegate<PagingItem>? statusBuilderDelegate,
  14. Key? key,
  15. bool? persistent,
  16. bool? forceUseInitData,
})

Implementation

const PagedSliverAlignedGrid({
  required this.builderDelegate,
  required this.gridDelegateBuilder,
  this.mainAxisSpacing = 0,
  this.crossAxisSpacing = 0,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.showNewPageProgressIndicatorAsGridChild = true,
  this.showNewPageErrorIndicatorAsGridChild = true,
  this.showNoMoreItemsIndicatorAsGridChild = true,
  this.shrinkWrapFirstPageIndicators = false,
  required this.pagingDataController,
  this.statusBuilderDelegate,
  super.key,
  this.persistent,
  this.forceUseInitData,
});