getDashed method

DashedVMobject getDashed({
  1. int numDashes = 15,
  2. double positiveSpaceRatio = 0.5,
  3. Color? color,
})

Implementation

DashedVMobject getDashed(
    {int numDashes = 15, double positiveSpaceRatio = 0.5, Color? color}) {
  // return a dashed version of the vmobject

  return DashedVMobject(this,
      numDashes: numDashes,
      positiveSpaceRatio: positiveSpaceRatio,
      color: color ?? getColor());
}