drawCircle function
void
drawCircle(])
Implementation
void drawCircle(
Canvas canvas, Offset offset, double radius, Color color, Paint painter,
[bool isDot = false]) {
Path _path = getCirclePath(offset, radius);
Paint _painter = painter
..color = color
..style = isDot ? PaintingStyle.fill : PaintingStyle.stroke;
canvas.drawPath(_path, _painter);
}