DashedLine.svgPath constructor
DashedLine.svgPath(})
Creates a dashed line following a path defined using SVG path commands.
The svgPath
is a path definition, i.e. a list of path commands
known from the SVG file format.
See also:
Implementation
DashedLine.svgPath(
String svgPath, {
Key? key,
required this.color,
this.lineFit = LineFit.contain,
this.alignment = Alignment.center,
this.dashLength = 4,
this.dashSpace = 8,
this.dashCap = StrokeCap.butt,
this.width = 1,
}) : path = parseSvgPath(svgPath),
super(key: key);