RefreshConfig constructor

RefreshConfig({
  1. EasyRefreshController? controller,
  2. FutureOr onRefresh()?,
  3. FutureOr onLoading()?,
  4. Header? header,
  5. Footer? footer,
  6. SpringDescription? spring,
  7. FrictionFactor? frictionFactor,
  8. bool simultaneously = false,
  9. bool noMoreRefresh = false,
  10. bool noMoreLoad = false,
  11. bool resetAfterRefresh = true,
  12. bool refreshOnStart = false,
  13. Header? refreshOnStartHeader,
  14. double callRefreshOverOffset = 20,
  15. double callLoadOverOffset = 20,
  16. StackFit fit = StackFit.loose,
  17. Clip clipBehavior = Clip.hardEdge,
  18. ScrollController? scrollController,
  19. NotLoadFooter? notLoadFooter,
  20. 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});