PagedSliverMasonryGrid<PageKeyType, ItemType> constructor
const
PagedSliverMasonryGrid<PageKeyType, ItemType> ({
- required PagedChildBuilderDelegate<
PagingItem> builderDelegate, - required SliverSimpleGridDelegateBuilder gridDelegateBuilder,
- double mainAxisSpacing = 0,
- double crossAxisSpacing = 0,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- bool showNewPageProgressIndicatorAsGridChild = true,
- bool showNewPageErrorIndicatorAsGridChild = true,
- bool showNoMoreItemsIndicatorAsGridChild = true,
- bool shrinkWrapFirstPageIndicators = false,
- required PagingDataController<
dynamic, PagingItem> pagingBuilderController, - PagedChildStatusBuilderDelegate<
PagingItem> ? statusBuilderDelegate, - Key? key,
- bool? persistent,
- bool? forceUseInitData,
Implementation
const PagedSliverMasonryGrid({
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.pagingBuilderController,
this.statusBuilderDelegate,
super.key,
this.persistent,
this.forceUseInitData,
});