drawLine abstract method
Draws a line between the given points using the given paint. The line is stroked, the value of the Paint.style is ignored for this call.
The p1
and p2
arguments are interpreted as offsets from the origin.
Implementation
void drawLine(Offset p1, Offset p2, Paint paint);