WhiteboardShape constructor

WhiteboardShape({
  1. required WhiteboardShapeType type,
  2. List<Offset>? points,
  3. Offset? start,
  4. Offset? end,
  5. String? text,
  6. required Color color,
  7. required double thickness,
  8. LineType lineType = LineType.solid,
  9. String? fontFamily,
  10. double? fontSize,
  11. Image? image,
  12. String? imageSrc,
})

Implementation

WhiteboardShape({
  required this.type,
  this.points,
  this.start,
  this.end,
  this.text,
  required this.color,
  required this.thickness,
  this.lineType = LineType.solid,
  this.fontFamily,
  this.fontSize,
  this.image,
  this.imageSrc,
});