void drawZeroToPoint(List<Offset> points, Canvas canvas) { for (var element in points) { canvas.drawLine( Offset.zero, element, zeroToPointPaint, ); } }