drawLine method

void drawLine(
  1. Offset p1,
  2. Offset p2,
  3. Paint paint
)

Directly calls Canvas.drawLine

Implementation

void drawLine(Offset p1, Offset p2, Paint paint) =>
    canvas.drawLine(p1, p2, paint);