ledgerDrop function
A vertical dotted drop (stroke-dasharray="1.5 2.5") from from to
to.
Implementation
void ledgerDrop(
Canvas canvas,
Offset from,
Offset to,
Color color, {
double width = 1,
}) => canvas.drawPath(
ledgerDashed(
Path()
..moveTo(from.dx, from.dy)
..lineTo(to.dx, to.dy),
const [1.5, 2.5],
),
ledgerStroke(color, width),
);