PagedSliverGrid<PageKeyType, ItemType> constructor
const
PagedSliverGrid<PageKeyType, ItemType> ({
- required PagedChildBuilderDelegate<
PagingItem> builderDelegate, - required SliverGridDelegate gridDelegate,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- bool showNewPageProgressIndicatorAsGridChild = true,
- bool showNewPageErrorIndicatorAsGridChild = true,
- bool showNoMoreItemsIndicatorAsGridChild = true,
- bool shrinkWrapFirstPageIndicators = false,
- Key? key,
- required PagingDataController<
dynamic, PagingItem> pagingBuilderController, - PagedChildStatusBuilderDelegate<
PagingItem> ? statusBuilderDelegate, - PagedLayoutProtocol? layoutProtocol,
- bool? persistent,
- 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,
});