PointPainter(this.points, {Color color = Colors.red, double strokeWidth = 1.0}) : super(color: color, strokeWidth: strokeWidth);