DashedCirclePainter constructor

DashedCirclePainter({
  1. required Color color,
  2. required double strokeWidth,
  3. required double dashLength,
  4. required double dashGap,
})

Creates a dashed circle painter.

All parameters are required:

  • color: The color of the dashed border
  • strokeWidth: The thickness of the border
  • dashLength: The length of each dash
  • dashGap: The space between dashes

Implementation

DashedCirclePainter({
  required this.color,
  required this.strokeWidth,
  required this.dashLength,
  required this.dashGap,
});