DashedColorCircle constructor

const DashedColorCircle({
  1. Key? key,
  2. int dashes = 3,
  3. Color emptyColor = Colors.grey,
  4. Color filledColor = Colors.black,
  5. double gapSize = 24.0,
  6. double strokeWidth = 8.0,
  7. double size = 24.0,
  8. double fillCount = 0.0,
  9. StrokeCap strokeCap = StrokeCap.round,
})

Adding dashes will increase the dash count, but if you add too many, you might have to change the gapSize which would move the dashes further away from each other. emptyColor represents the default color of the dashes. If you declare fillCount together with filledColor you would get the amount of dashes with fillColor in the specified color.

Implementation

const DashedColorCircle({
  Key? key,
  this.dashes = 3,
  this.emptyColor = Colors.grey,
  this.filledColor = Colors.black,
  this.gapSize = 24.0,
  this.strokeWidth = 8.0,
  this.size = 24.0,
  this.fillCount = 0.0,
  this.strokeCap = StrokeCap.round,
}) : super(key: key);