CustomCurve constructor

const CustomCurve({
  1. Key? key,
  2. double? startHeight = 0,
  3. double? endHeight = 0,
  4. double? midHeight = 10,
  5. PaintStyle paintStyle = PaintStyle.fill,
  6. CurveStyle curveStyle = CurveStyle.bezier,
  7. Color? color,
  8. double? start = 0,
  9. CurvePosition curvePosition = CurvePosition.bottom,
  10. double? end = 100,
  11. required double midPoint,
})

Implementation

const CustomCurve({
  Key? key,
  this.startHeight = 0,
  this.endHeight = 0,
  this.midHeight = 10,
  this.paintStyle = PaintStyle.fill,
  this.curveStyle = CurveStyle.bezier,
  this.color,
  this.start = 0,
  this.curvePosition = CurvePosition.bottom,
  this.end = 100,
  required this.midPoint,
}) : super(key: key);