Stroke constructor

Stroke({
  1. required List<StrokePoint> points,
  2. required BrushType brushType,
  3. required Color color,
  4. required double thickness,
  5. bool isArrow = false,
})

A stroke through points.

Implementation

Stroke({
  required this.points,
  required this.brushType,
  required this.color,
  required this.thickness,
  this.isArrow = false,
});