LinePath constructor

const LinePath({
  1. Key? key,
  2. required List<Point> points,
  3. Curve? curve,
  4. Color color = const Color(0xFF000000),
  5. double strokeWidth = 1.0,
  6. StrokeCap strokeCap = StrokeCap.butt,
  7. StrokeJoin strokeJoin = StrokeJoin.miter,
  8. List<double>? dashPattern,
  9. bool defined(
    1. Point
    )?,
})

Creates a line path widget.

Implementation

const LinePath({
  super.key,
  required this.points,
  this.curve,
  this.color = const Color(0xFF000000),
  this.strokeWidth = 1.0,
  this.strokeCap = StrokeCap.butt,
  this.strokeJoin = StrokeJoin.miter,
  this.dashPattern,
  this.defined,
});