CustomRefresher(- {Key? key,
- required RefreshController controller,
- Widget? child,
- bool enablePullDown = true,
- bool enablePullUp = false,
- bool enableTwoLevel = false,
- VoidCallback? onRefresh,
- VoidCallback? onLoading,
- OnTwoLevel? onTwoLevel,
- DragStartBehavior? dragStartBehavior,
- bool? primary,
- double? cacheExtent,
- int? semanticChildCount,
- bool? reverse,
- ScrollPhysics? physics,
- Axis? scrollDirection,
- ScrollController? scrollController}
)
Implementation
CustomRefresher({
Key? key,
required this.controller,
this.child,
this.header,
this.footer,
this.enablePullDown: true,
this.enablePullUp: false,
this.enableTwoLevel: false,
this.onRefresh,
this.onLoading,
this.onTwoLevel,
this.dragStartBehavior,
this.primary,
this.cacheExtent,
this.semanticChildCount,
this.reverse,
this.physics,
this.scrollDirection,
this.scrollController,
}) : builder = null,
super(key: key);