BezierHeader constructor

BezierHeader({
  1. Widget child = const Text(""),
  2. OffsetCallBack? onOffsetChange,
  3. ModeChangeCallBack? onModeChange,
  4. VoidFutureCallBack? readyRefresh,
  5. bool enableChildOverflow = false,
  6. VoidFutureCallBack? endRefresh,
  7. VoidCallback? onResetValue,
  8. BezierDismissType dismissType = BezierDismissType.RectSpread,
  9. double rectHeight = 70,
  10. 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);