PullableConfig constructor
const
PullableConfig({
- bool enablePullDown = true,
- bool enablePullUp = false,
- ScrollPhysics? physics,
- Future<
void> onRefresh()?, - Future<
void> onLoading()?, - PullableHeaderType headerType = PullableHeaderType.waterDrop,
- Widget? customHeader,
- Duration refreshCompleteDelay = Duration.zero,
- Duration loadCompleteDelay = Duration.zero,
- bool enableOverScroll = true,
- double? cacheExtent,
- int? semanticChildCount,
- 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,
});