PagedSliverAlignedGrid<PageKeyType, ItemType>.extent constructor
PagedSliverAlignedGrid<PageKeyType, ItemType>.extent ({
- Key? key,
- required PagedChildBuilderDelegate<
PagingItem> builderDelegate, - required double maxCrossAxisExtent,
- 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,
- PagedChildStatusBuilderDelegate<
PagingItem> ? statusBuilderDelegate, - required PagingDataController<
dynamic, PagingItem> pagingDataController, - bool? persistent,
- bool? forceUseInitData,
Implementation
PagedSliverAlignedGrid.extent({
super.key,
required this.builderDelegate,
required double maxCrossAxisExtent,
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,
this.statusBuilderDelegate,
required this.pagingDataController,
this.persistent,
this.forceUseInitData,
}) : gridDelegateBuilder = ((childCount) => SliverSimpleGridDelegateWithMaxCrossAxisExtent(
maxCrossAxisExtent: maxCrossAxisExtent,
));