drawCircle method

void drawCircle(
  1. Canvas canvas
)

Implementation

void drawCircle(Canvas canvas) {
  canvas.drawOval(
      Rect.fromCircle(center: Offset(centerX, centerY), radius: radius),
      pointPainter);

  canvas.drawOval(
      Rect.fromCircle(center: Offset(centerX, centerY), radius: padding),
      linePainter);
}