DashedLinePainter constructor

const DashedLinePainter({
  1. Color? color,
  2. double? strokeWidth,
  3. double? dashWidth,
  4. double? dashSpace,
})

Implementation

const DashedLinePainter({
  this.color,
  this.strokeWidth,
  double? dashWidth,
  double? dashSpace,
})  : dashWidth = dashWidth ?? 4.0,
      dashSpace = dashSpace ?? 1.5;