InfiniteScrollWidget<T> constructor

const InfiniteScrollWidget<T>({
  1. Key? key,
  2. required List<T> list,
  3. required Widget delegate(
    1. BuildContext context,
    2. T entry,
    3. int index
    ),
  4. required OnLoadMoreList onLoadMore,
  5. required bool reachMax,
  6. required bool isLoading,
  7. OnRefreshList? onRefresh,
  8. Widget? customLoader,
  9. Widget? customLoaderMore,
  10. Widget? customEmptyList,
  11. Widget? customReachMax,
  12. bool shrinkWrap = false,
  13. ScrollPhysics? physics,
})

Implementation

const InfiniteScrollWidget({
  Key? key,
  required this.list,
  required this.delegate,
  required this.onLoadMore,
  required this.reachMax,
  required this.isLoading,
  this.onRefresh,
  this.customLoader,
  this.customLoaderMore,
  this.customEmptyList,
  this.customReachMax,
  this.shrinkWrap = false,
  this.physics,
}) : super(key: key);