I have a make my Custom Clipper (Pentagon Shape) but I need to make all of the corners round a little bit.
Here's my Clipper Code:
class Pentagon extends CustomClipper<Path> {
@override
Path getClip(Size size) {
final path = Path();
path.lineTo(size.width * 0.5, 0);
path.lineTo(size.width, size.height * 0.38);
path.lineTo(size.width * 0.82, size.height);
path.lineTo(size.width * 0.18, size.height);
path.lineTo(0, size.height * 0.38);
path.lineTo(size.width * 0.5, 0);
path.close();
return path;
}
@override
bool shouldReclip(CustomClipper<Path> oldClipper) => false;
}
Try to draw custom shape with this tool, fluttershapemaker