RedactionAnnotation constructor
RedactionAnnotation({
- String? id,
- required List<
List< rects,double> > - String? createdAt,
- String? creatorName,
- Color? fillColor,
- String? overlayText,
- double? fontSize,
- Color? fontColor,
- String? repeat,
- required int pageIndex,
- double opacity = 1.0,
- int? pdfObjectId,
- List<
AnnotationFlag> ? flags, - String? updatedAt,
- String? name,
- String? subject,
- Color? outlineColor,
- bool? repeatOverlayText,
- double rotation = 0.0,
- 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);