LinePathComponent constructor

LinePathComponent(
  1. List<Offset> path,
  2. Color color,
  3. double strokeWidth
)

Implementation

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