PullableConfig constructor

const PullableConfig({
  1. bool enablePullDown = true,
  2. bool enablePullUp = false,
  3. ScrollPhysics? physics,
  4. Future<void> onRefresh()?,
  5. Future<void> onLoading()?,
  6. PullableHeaderType headerType = PullableHeaderType.waterDrop,
  7. Widget? customHeader,
  8. Widget? customFooter,
  9. Duration refreshCompleteDelay = Duration.zero,
  10. Duration loadCompleteDelay = Duration.zero,
  11. bool enableOverScroll = true,
  12. double? cacheExtent,
  13. int? semanticChildCount,
  14. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
})

Implementation

const PullableConfig({
  this.enablePullDown = true,
  this.enablePullUp = false,
  this.physics,
  this.onRefresh,
  this.onLoading,
  this.headerType = PullableHeaderType.waterDrop,
  this.customHeader,
  this.customFooter,
  this.refreshCompleteDelay = Duration.zero,
  this.loadCompleteDelay = Duration.zero,
  this.enableOverScroll = true,
  this.cacheExtent,
  this.semanticChildCount,
  this.dragStartBehavior = DragStartBehavior.start,
});