Paint getPaint(Color color, double circleWidth) { return Paint() ..color = color ..strokeCap = StrokeCap.butt ..style = PaintingStyle.stroke ..strokeWidth = circleWidth; }