drawCenter method

void drawCenter(
  1. Canvas canvas
)

Implementation

void drawCenter(Canvas canvas) {
  Paint paint = Paint()
    ..color = centerColor!
    ..style = PaintingStyle.fill
    ..strokeCap = StrokeCap.round
    ..isAntiAlias = true;
  canvas.drawCircle(Offset(centerX, centerY), centerR!, paint);
}