VRefreshView constructor

const VRefreshView({
  1. Key? key,
  2. required List data,
  3. IndexedWidgetBuilder? itemBuilder,
  4. IndexedWidgetBuilder? separatorBuilder,
  5. FutureOr onRefresh()?,
  6. FutureOr onLoad()?,
  7. bool firstRefresh = false,
  8. Header? header,
  9. Footer? footer,
  10. Widget? child,
  11. Widget? empty,
  12. EasyRefreshController? controller,
  13. 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);