PathPainter constructor

PathPainter({
  1. required Path path,
  2. required Color pathColor,
  3. required double pathWidth,
})

Implementation

PathPainter({
  required this.path,
  required this.pathColor,
  required this.pathWidth,
}) : pathPaint = Paint()
        ..color = pathColor
        ..style = PaintingStyle.stroke
        ..strokeWidth = pathWidth;