EasyPaging<DataType, ItemType> constructor

const EasyPaging<DataType, ItemType>({
  1. Key? key,
  2. bool useDefaultPhysics = false,
  3. EasyRefreshController? controller,
  4. SpringDescription? spring,
  5. FrictionFactor? frictionFactor,
  6. NotRefreshHeader? notRefreshHeader,
  7. NotLoadFooter? notLoadFooter,
  8. bool simultaneously = false,
  9. bool canRefreshAfterNoMore = false,
  10. bool canLoadAfterNoMore = false,
  11. bool resetAfterRefresh = true,
  12. bool refreshOnStart = false,
  13. double callRefreshOverOffset = 20,
  14. double callLoadOverOffset = 20,
  15. StackFit fit = StackFit.loose,
  16. Clip clipBehavior = Clip.hardEdge,
  17. EasyPagingItemBuilder<ItemType>? itemBuilder,
  18. WidgetBuilder? refreshOnStartWidgetBuilder,
  19. WidgetBuilder? emptyWidgetBuilder,
})

Implementation

const EasyPaging({
  super.key,
  this.useDefaultPhysics = false,
  this.controller,
  this.spring,
  this.frictionFactor,
  this.notRefreshHeader,
  this.notLoadFooter,
  this.simultaneously = false,
  this.canRefreshAfterNoMore = false,
  this.canLoadAfterNoMore = false,
  this.resetAfterRefresh = true,
  this.refreshOnStart = false,
  this.callRefreshOverOffset = 20,
  this.callLoadOverOffset = 20,
  this.fit = StackFit.loose,
  this.clipBehavior = Clip.hardEdge,
  this.itemBuilder,
  this.refreshOnStartWidgetBuilder,
  this.emptyWidgetBuilder,
});