HighlightAnnotation constructor

HighlightAnnotation({
  1. String? id,
  2. required List<double> bbox,
  3. String? createdAt,
  4. String? creatorName,
  5. required Color? color,
  6. required List<List<double>> rects,
  7. required int pageIndex,
  8. double opacity = 1.0,
  9. int? pdfObjectId,
  10. List<AnnotationFlag>? flags,
  11. String? updatedAt,
  12. String? name,
  13. String? subject,
  14. bool hidden = false,
  15. Map<String, dynamic>? customData,
})

Implementation

HighlightAnnotation({
  super.id,
  required super.bbox,
  super.createdAt,
  super.creatorName,
  required super.color,
  required super.rects,
  required super.pageIndex,
  super.opacity,
  super.pdfObjectId,
  super.flags,
  super.updatedAt,
  super.name,
  super.subject,
  super.hidden,
  super.customData,
}) : super(type: AnnotationType.highlight);