ListLoadMore<T> constructor

const ListLoadMore<T>({
  1. Key? key,
  2. VoidCallback? onRefresh,
  3. void onLoadMore(
    1. int skip
    )?,
  4. Widget? emptyWidget,
  5. Widget? errorWidget,
  6. required Widget itemBuilder(
    1. T t,
    2. int index
    ),
  7. Axis? scrollDirection,
  8. Widget? shimmerWidget,
  9. num total = 0,
  10. ListLoadMoreStatus status = ListLoadMoreStatus.none,
  11. Widget? loadingMoreWidget,
})

Implementation

const ListLoadMore({
  Key? key,
  this.onRefresh,
  this.onLoadMore,
  this.emptyWidget,
  this.errorWidget,
  required this.itemBuilder,
  this.scrollDirection,
  this.shimmerWidget,
  this.total = 0,
  this.status = ListLoadMoreStatus.none,
  this.loadingMoreWidget,
}) : super(key: key);