DashedLinePainter constructor

DashedLinePainter({
  1. double dashWidth = 5.0,
  2. double dashSpace = 3.0,
  3. required Color color,
})

Implementation

DashedLinePainter({
  this.dashWidth = 5.0,
  this.dashSpace = 3.0,
  required Color color,
}) : linePaint = Paint()
        ..color = color
        ..strokeWidth = 2.0;