RedactionAnnotation constructor

RedactionAnnotation({
  1. String? id,
  2. required List<List<double>> rects,
  3. String? createdAt,
  4. String? creatorName,
  5. Color? fillColor,
  6. String? overlayText,
  7. double? fontSize,
  8. Color? fontColor,
  9. String? repeat,
  10. required int pageIndex,
  11. double opacity = 1.0,
  12. int? pdfObjectId,
  13. List<AnnotationFlag>? flags,
  14. String? updatedAt,
  15. String? name,
  16. String? subject,
  17. bool hidden = false,
  18. Color? outlineColor,
  19. bool? repeatOverlayText,
  20. double rotation = 0.0,
  21. Map<String, dynamic>? customData,
})

Implementation

RedactionAnnotation({
  super.id,
  required this.rects,
  super.createdAt,
  super.creatorName,
  this.fillColor,
  this.overlayText,
  this.fontSize,
  this.fontColor,
  this.repeat,
  required super.pageIndex,
  super.opacity,
  super.pdfObjectId,
  super.flags,
  super.updatedAt,
  super.name,
  super.subject,
  super.hidden,
  this.outlineColor,
  this.repeatOverlayText,
  this.rotation = 0.0,
  super.customData,
}) : super(type: AnnotationType.redact, bbox: rects.first);