CustomCurve constructor
const
CustomCurve({
- Key? key,
- double? startHeight = 0,
- double? endHeight = 0,
- double? midHeight = 10,
- PaintStyle paintStyle = PaintStyle.fill,
- CurveStyle curveStyle = CurveStyle.bezier,
- Color? color,
- double? start = 0,
- CurvePosition curvePosition = CurvePosition.bottom,
- double? end = 100,
- 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);