I tried with customclipper but did not got expected output.
int curveHeight = 20;
Offset controlPoint = Offset(size.width / 2, size.height + curveHeight);
Offset endPoint = Offset(size.width , size.height - curveHeight);
Path path = Path()
..lineTo(0, size.height - curveHeight)
..quadraticBezierTo(controlPoint.dx , controlPoint.dy , endPoint.dx , endPoint.dy )
..lineTo(size.width , 0)
..close();
2
Answers
I am using CustomPaint for this. You can also use
arcToPoint
while the control points will be used to shift on semantic shape.The similar thing is for brazier curve
If you want more custom designs use this site