NiceAnnotation constructor

NiceAnnotation({
  1. required String id,
  2. required NiceAnnotationTool type,
  3. required Color color,
  4. double strokeWidth = 2,
  5. List<Offset> points = const [],
  6. String? text,
  7. Rect? rect,
  8. Offset? arrowStart,
  9. Offset? arrowEnd,
})

Implementation

NiceAnnotation({
  required this.id,
  required this.type,
  required this.color,
  this.strokeWidth = 2,
  this.points = const [],
  this.text,
  this.rect,
  this.arrowStart,
  this.arrowEnd,
});