I want to create a path like :
but the actual result border is not good:
now I wonder how to have fully rounded corner with ClipPath.
the code is:
class MyClipper extends CustomClipper<Path> {
@override
Path getClip(Size size) {
final path = Path();
path.moveTo(size.width, 0);
path.lineTo(size.width, size.height);
path.lineTo(15, size.height);
path.quadraticBezierTo(0, size.height / 2, 15, 0);
path.lineTo(size.width, 0);
return path;
}
@override
bool shouldReclip(CustomClipper<Path> oldClipper) {
return true;
}
}



