SuperSliverList.builder constructor
SuperSliverList.builder({
- Key? key,
- required NullableIndexedWidgetBuilder itemBuilder,
- ChildIndexGetter? findChildIndexCallback,
- int? itemCount,
- ExtentPrecalculationPolicy? extentPrecalculationPolicy,
- ListController? listController,
- ExtentEstimationProvider? extentEstimation,
- bool delayPopulatingCacheArea = true,
- bool layoutKeptAliveChildren = false,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
Creates a SuperSliverList from widget builder.
See SliverList.builder for details.
Implementation
SuperSliverList.builder({
super.key,
required NullableIndexedWidgetBuilder itemBuilder,
ChildIndexGetter? findChildIndexCallback,
int? itemCount,
this.extentPrecalculationPolicy,
this.listController,
this.extentEstimation,
this.delayPopulatingCacheArea = true,
this.layoutKeptAliveChildren = false,
bool addAutomaticKeepAlives = true,
bool addRepaintBoundaries = true,
bool addSemanticIndexes = true,
}) : super(
delegate: SliverChildBuilderDelegate(
itemBuilder,
findChildIndexCallback: findChildIndexCallback,
childCount: itemCount,
addAutomaticKeepAlives: addAutomaticKeepAlives,
addRepaintBoundaries: addRepaintBoundaries,
addSemanticIndexes: addSemanticIndexes,
),
);