SuperSliverList.list constructor

SuperSliverList.list({
  1. Key? key,
  2. required List<Widget> children,
  3. ExtentPrecalculationPolicy? extentPrecalculationPolicy,
  4. ListController? listController,
  5. ExtentEstimationProvider? extentEstimation,
  6. bool delayPopulatingCacheArea = true,
  7. bool layoutKeptAliveChildren = false,
  8. bool addAutomaticKeepAlives = true,
  9. bool addRepaintBoundaries = true,
  10. bool addSemanticIndexes = true,
})

Creates a SuperSliverList from list of child widgets.

See SliverList.list for details.

Implementation

SuperSliverList.list({
  super.key,
  required List<Widget> children,
  this.extentPrecalculationPolicy,
  this.listController,
  this.extentEstimation,
  this.delayPopulatingCacheArea = true,
  this.layoutKeptAliveChildren = false,
  bool addAutomaticKeepAlives = true,
  bool addRepaintBoundaries = true,
  bool addSemanticIndexes = true,
}) : super(
        delegate: SliverChildListDelegate(
          children,
          addAutomaticKeepAlives: addAutomaticKeepAlives,
          addRepaintBoundaries: addRepaintBoundaries,
          addSemanticIndexes: addSemanticIndexes,
        ),
      );