VRefreshView constructor
const
VRefreshView({
- Key? key,
- required List data,
- IndexedWidgetBuilder? itemBuilder,
- IndexedWidgetBuilder? separatorBuilder,
- FutureOr onRefresh()?,
- FutureOr onLoad()?,
- bool firstRefresh = false,
- Header? header,
- Widget? child,
- Widget? empty,
- EasyRefreshController? controller,
- LocaleType? localeType,
Implementation
const VRefreshView({
Key? key,
required this.data,
// this.limit = 15,
// this.laodAll = false,
this.itemBuilder,
this.separatorBuilder,
this.onRefresh,
this.onLoad,
this.firstRefresh = false,
this.header,
this.footer,
this.child,
this.empty,
this.controller,
this.localeType,
}) : super(key: key);