drawInitialPoint function
Method used to draw initial point and somethimes to test the draw of the points
Implementation
void drawInitialPoint(
Canvas canvas, Size size, Color color, double x, double y) {
if (x == 0) {
x = 30;
y = 30;
}
final paint = Paint()
..color = color
..strokeWidth = 3
..style = PaintingStyle.fill;
canvas.drawCircle(Offset(x, size.width - y), 2, paint);
}