drawZeroToPoint method

void drawZeroToPoint(
  1. List<Offset> points,
  2. Canvas canvas
)

Implementation

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