LoadingMoreListConfig<T> constructor

LoadingMoreListConfig<T>(
  1. Widget itemBuilder(
    1. BuildContext context,
    2. T item,
    3. int index
    ),
  2. LoadingMoreBase<T> sourceList, {
  3. LoadingMoreIndicatorBuilder? indicatorBuilder,
  4. SliverGridDelegate? gridDelegate,
  5. bool autoLoadMore = true,
  6. ExtendedListDelegate? extendedListDelegate,
  7. LastChildLayoutType lastChildLayoutType = LastChildLayoutType.foot,
  8. bool autoRefresh = true,
  9. int? childCount,
  10. int childCountBuilder(
    1. int count
    )?,
  11. int getActualIndex(
    1. int int
    )?,
})

Implementation

LoadingMoreListConfig(
  this.itemBuilder,
  this.sourceList, {
  this.indicatorBuilder,
  this.gridDelegate,
  this.autoLoadMore = true,
  this.extendedListDelegate,
  this.lastChildLayoutType = LastChildLayoutType.foot,
  this.autoRefresh = true,
  this.childCount,
  this.childCountBuilder,
  this.getActualIndex,
});