RefreshListView constructor
const
RefreshListView({
- Key? key,
- required IndexedWidgetBuilder itemBuilder,
- required int itemCount,
- EdgeInsetsGeometry? padding,
- ScrollController? scrollController,
- Future<
RefreshState> onHeaderRefresh()?, - Widget? listHeader,
- IndexedWidgetBuilder? separatorBuilder,
- ScrollPhysics physics = const AlwaysScrollableScrollPhysics(),
Implementation
const RefreshListView({
Key? key,
required this.itemBuilder,
required this.itemCount,
this.padding,
this.scrollController,
this.onHeaderRefresh,
this.onFooterRefresh,
this.listHeader,
this.separatorBuilder,
this.physics = const AlwaysScrollableScrollPhysics(),
}) : super(key: key);