RefreshConfig constructor
RefreshConfig({
- EasyRefreshController? controller,
- FutureOr onRefresh()?,
- FutureOr onLoading()?,
- Header? header,
- SpringDescription? spring,
- FrictionFactor? frictionFactor,
- bool simultaneously = false,
- bool noMoreRefresh = false,
- bool noMoreLoad = false,
- bool resetAfterRefresh = true,
- bool refreshOnStart = false,
- Header? refreshOnStartHeader,
- double callRefreshOverOffset = 20,
- double callLoadOverOffset = 20,
- StackFit fit = StackFit.loose,
- Clip clipBehavior = Clip.hardEdge,
- ScrollController? scrollController,
- NotRefreshHeader? notRefreshHeader,
Implementation
RefreshConfig(
{this.controller,
this.onRefresh,
this.onLoading,
this.header,
this.footer,
this.spring,
this.frictionFactor,
this.simultaneously = false,
this.noMoreRefresh = false,
this.noMoreLoad = false,
this.resetAfterRefresh = true,
this.refreshOnStart = false,
this.refreshOnStartHeader,
this.callRefreshOverOffset = 20,
this.callLoadOverOffset = 20,
this.fit = StackFit.loose,
this.clipBehavior = Clip.hardEdge,
this.scrollController,
this.notLoadFooter,
this.notRefreshHeader});