drawCenter method
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);
}