BezierHeader constructor
BezierHeader({
- Widget child = const Text(""),
- OffsetCallBack? onOffsetChange,
- ModeChangeCallBack? onModeChange,
- VoidFutureCallBack? readyRefresh,
- bool enableChildOverflow = false,
- VoidFutureCallBack? endRefresh,
- VoidCallback? onResetValue,
- BezierDismissType dismissType = BezierDismissType.RectSpread,
- double rectHeight = 70,
- Color? bezierColor,
Implementation
BezierHeader(
{this.child = const Text(""),
this.onOffsetChange,
this.onModeChange,
this.readyRefresh,
this.enableChildOverflow = false,
this.endRefresh,
this.onResetValue,
this.dismissType = BezierDismissType.RectSpread,
this.rectHeight = 70,
this.bezierColor})
: super(refreshStyle: RefreshStyle.UnFollow, height: rectHeight);