PagedSliverGrid<PageKeyType, ItemType> constructor
const
PagedSliverGrid<PageKeyType, ItemType> ({
- required PagingController<
PageKeyType, ItemType> pagingController, - required PagedChildBuilderDelegate<
ItemType> 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,
Implementation
const PagedSliverGrid({
required this.pagingController,
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,
Key? key,
}) : super(key: key);