DashedLine constructor
DashedLine({})
Implementation
DashedLine(
{this.dashLength = DEFAULT_DASH_LENGTH,
this.dashSpacing,
this.positiveSpaceRatio = 0.5,
double buff = 0,
double? pathArc,
Vector3 start = RIGHT,
Vector3 end = LEFT,
Color color = WHITE})
: super(
start: start,
end: end,
buff: buff,
pathArc: pathArc,
color: color,
) {
var numDashes = getDashCount();
var dashes = DashedVMobject(this,
numDashes: numDashes, positiveSpaceRatio: positiveSpaceRatio);
clearPoints();
add(dashes.submobjects);
}