I want to design this type of widget in flutter, I tried it with Clipper class but not getting proper output.
I tried with this code,
class ArcClipper extends CustomClipper<Path> {
  @override
  Path getClip(Size size) {
    final path = Path();
    path.lineTo(0, size.height);
    path.lineTo(size.width, size.height);
    path.lineTo(size.width - 30, 0);
    path.close();
    return path;
  }
  @override
  bool shouldReclip(CustomClipper old) => false;
}
but its showing arc at right side, which is not perfect.

