RefreshConfig constructor
RefreshConfig({
- bool enablePullUp = true,
- bool enablePullDown = true,
- RefreshIndicatorBuilder? refreshHeaderBuilder,
- RefreshIndicatorConfig headerConfig = const RefreshIndicatorConfig(),
- RefreshStatusDidChange? onRefreshHeaderStatusChange,
- 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();