getPaint method

Paint getPaint(
  1. Color color,
  2. double circleWidth
)

Implementation

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