SketchLine constructor

const SketchLine({
  1. required List<Point> points,
  2. required int color,
  3. required double width,
})

Represents a line in a sketch.

Implementation

const factory SketchLine({
  /// The points that make up the line
  required List<Point> points,

  /// The color of the line in hexadecimal format (ARGB)
  required int color,

  /// The width of the line
  required double width,
}) = _SketchLine;