PagedSliverMasonryGrid<PageKeyType, ItemType> constructor

const PagedSliverMasonryGrid<PageKeyType, ItemType>({
  1. required PagingController<PageKeyType, ItemType> pagingController,
  2. required PagedChildBuilderDelegate<ItemType> builderDelegate,
  3. required SliverSimpleGridDelegateBuilder gridDelegateBuilder,
  4. double mainAxisSpacing = 0,
  5. double crossAxisSpacing = 0,
  6. bool addAutomaticKeepAlives = true,
  7. bool addRepaintBoundaries = true,
  8. bool addSemanticIndexes = true,
  9. bool showNewPageProgressIndicatorAsGridChild = true,
  10. bool showNewPageErrorIndicatorAsGridChild = true,
  11. bool showNoMoreItemsIndicatorAsGridChild = true,
  12. bool shrinkWrapFirstPageIndicators = false,
  13. Key? key,
})

Implementation

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