drawLine abstract method
void
drawLine({})
Renders a simple line.
dashPattern
controls the pattern of dashes and gaps in a line. It is a
list of lengths of alternating dashes and gaps. The rendering is similar
to stroke-dasharray in SVG path elements. An odd number of values in the
pattern will be repeated to derive an even number of values. "1,2,3" is
equivalent to "1,2,3,1,2,3."
Implementation
void drawLine({
required List<Point> points,
Rectangle<num>? clipBounds,
Color? fill,
Color? stroke,
bool? roundEndCaps,
double? strokeWidthPx,
List<int>? dashPattern,
});