SliverListConfig<T> constructor

SliverListConfig<T>({
  1. required LoadingMoreItemBuilder<T> itemBuilder,
  2. required LoadingMoreBase<T> sourceList,
  3. LoadingMoreIndicatorBuilder? indicatorBuilder,
  4. SliverGridDelegate? gridDelegate,
  5. bool addAutomaticKeepAlives = true,
  6. bool addRepaintBoundaries = true,
  7. bool addSemanticIndexes = true,
  8. SemanticIndexCallback semanticIndexCallback = _kDefaultSemanticIndexCallback,
  9. int semanticIndexOffset = 0,
  10. int? childCount,
  11. bool autoLoadMore = true,
  12. ExtendedListDelegate? extendedListDelegate,
  13. LastChildLayoutType lastChildLayoutType = LastChildLayoutType.foot,
  14. EdgeInsetsGeometry? padding,
  15. double? itemExtent,
  16. bool autoRefresh = true,
  17. int childCountBuilder(
    1. int count
    )?,
  18. int getActualIndex(
    1. int int
    )?,
  19. bool? showNoMore,
  20. bool? lock,
})

Implementation

SliverListConfig({
  required LoadingMoreItemBuilder<T> itemBuilder,
  required LoadingMoreBase<T> sourceList,
  LoadingMoreIndicatorBuilder? indicatorBuilder,
  SliverGridDelegate? gridDelegate,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.semanticIndexCallback = _kDefaultSemanticIndexCallback,
  this.semanticIndexOffset = 0,
  int? childCount,
  bool autoLoadMore = true,
  ExtendedListDelegate? extendedListDelegate,
  LastChildLayoutType lastChildLayoutType = LastChildLayoutType.foot,
  this.padding,
  this.itemExtent,
  bool autoRefresh = true,
  int Function(int count)? childCountBuilder,
  int Function(int int)? getActualIndex,
  this.showNoMore,
  this.lock,
}) : super(
        itemBuilder,
        sourceList,
        indicatorBuilder: indicatorBuilder,
        gridDelegate: gridDelegate,
        autoLoadMore: autoLoadMore,
        extendedListDelegate: extendedListDelegate,
        lastChildLayoutType: lastChildLayoutType,
        autoRefresh: autoRefresh,
        childCount: childCount,
        childCountBuilder: childCountBuilder,
        getActualIndex: getActualIndex,
      );