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.
Source
void drawLine(Point p1, Point p2, Paint paint) { _drawLine(p1.x, p1.y, p2.x, p2.y, paint._objects, paint._data); }