point function
Implementation
point(Canvas canvas, Offset center) {
var paint = Paint()
..color = const Color(0xff1e272e)
..strokeWidth = 1
..style = PaintingStyle.fill
..strokeCap = StrokeCap.round;
var path = Path();
path.addOval(Rect.fromCircle(
center: center,
radius: 3,
));
canvas.drawPath(path, paint);
}