SimpleInfiniteScroll<T> constructor
const
SimpleInfiniteScroll<T> ({
- Key? key,
- required Widget? itemBuilder(
- BuildContext,
- T
- required Future<
List< fetch(),T> ?> - Widget? loadingWidget,
- int? limit = 10,
- bool? shrinkWrap,
- ScrollPhysics? physics,
- ScrollController? controller,
- int? pageStartFrom = 1,
Implementation
const SimpleInfiniteScroll(
{Key? key,
required this.itemBuilder,
required this.fetch,
this.loadingWidget,
this.limit = 10,
this.shrinkWrap,
this.physics,
this.controller,
this.pageStartFrom = 1})
: super(key: key);