LinePathComponent(this.path, this.color, this.strokeWidth) { _paintPath = Paint() ..style = PaintingStyle.stroke ..color = color ..strokeWidth = strokeWidth; }