RefreshConfig constructor

RefreshConfig({
  1. bool enablePullUp = true,
  2. bool enablePullDown = true,
  3. RefreshIndicatorBuilder? refreshHeaderBuilder,
  4. RefreshIndicatorConfig headerConfig = const RefreshIndicatorConfig(),
  5. RefreshStatusDidChange? onRefreshHeaderStatusChange,
  6. RefreshIndicatorBuilder? refreshFooterBuilder,
  7. RefreshIndicatorConfig footerConfig = const RefreshIndicatorConfig(),
  8. RefreshStatusDidChange? onRefreshFooterStatusChange,
  9. RefreshController? controller,
})

Implementation

RefreshConfig({
  this.enablePullUp = true,
  this.enablePullDown = true,
  this.refreshHeaderBuilder,
  this.headerConfig = const RefreshIndicatorConfig(),
  this.onRefreshHeaderStatusChange,
  this.refreshFooterBuilder,
  this.footerConfig = const RefreshIndicatorConfig(),
  this.onRefreshFooterStatusChange,
  RefreshController? controller,
}) : controller = controller ?? RefreshController();