InfiniteScrollWidget<T> constructor
const
InfiniteScrollWidget<T> ({
- Key? key,
- required List<
T> list, - required Widget delegate(
- BuildContext context,
- T entry,
- int index
- required OnLoadMoreList onLoadMore,
- required bool reachMax,
- required bool isLoading,
- OnRefreshList? onRefresh,
- Widget? customLoader,
- Widget? customLoaderMore,
- Widget? customEmptyList,
- Widget? customReachMax,
- bool shrinkWrap = false,
- 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);