YRefreshListView<T> constructor
YRefreshListView<T> ({
- required List<
T> models, - dynamic onRefresh()?,
- required dynamic itemBuilder(
- BuildContext context,
- int index,
- T model
- ScrollController? scrollController,
- Header? header,
- dynamic onLoadMore()?,
- bool bottomBouncing = true,
- bool scrollbar = true,
- EdgeInsets padding = EdgeInsets.zero,
- bool reverse = false,
Implementation
YRefreshListView({
required this.models,
this.onRefresh,
required this.itemBuilder,
this.scrollController,
this.header,
this.footer,
this.onLoadMore,
this.bottomBouncing = true,
this.scrollbar = true,
this.padding = EdgeInsets.zero,
this.reverse = false,
});