RefreshLayout constructor

const RefreshLayout({
  1. Key? key,
  2. required Widget child,
  3. bool showEmptyView()?,
  4. Future<void> onRefresh()?,
  5. Future<void> onLoad()?,
  6. Widget? emptyWidget,
  7. Header? header,
  8. Footer? footer,
})

Implementation

const RefreshLayout({
  Key? key,
  required this.child,
  this.showEmptyView,
  this.onRefresh,
  this.onLoad,
  this.emptyWidget,
  this.header,
  this.footer,
}) : super(key: key);