DrawingStroke constructor
const
DrawingStroke({
- required List<
StrokePoint> points, - required Color color,
- required double size,
- StrokeTool tool = StrokeTool.pen,
Creates a stroke.
Implementation
const DrawingStroke({
required this.points,
required this.color,
required this.size,
this.tool = StrokeTool.pen,
});