WidgetAnnotation constructor

WidgetAnnotation({
  1. String? id,
  2. required List<double> bbox,
  3. String? createdAt,
  4. String? creatorName,
  5. required String fieldType,
  6. String? fieldName,
  7. dynamic value,
  8. List<String>? options,
  9. bool? readOnly,
  10. bool? required,
  11. bool? multiline,
  12. required int pageIndex,
  13. double opacity = 1.0,
  14. int? pdfObjectId,
  15. List<AnnotationFlag>? flags,
  16. String? updatedAt,
  17. String? name,
  18. String? subject,
  19. bool hidden = false,
  20. Map<String, dynamic>? customData,
})

Implementation

WidgetAnnotation({
  super.id,
  required super.bbox,
  super.createdAt,
  super.creatorName,
  required this.fieldType,
  this.fieldName,
  this.value,
  this.options,
  this.readOnly,
  this.required,
  this.multiline,
  required super.pageIndex,
  super.opacity,
  super.pdfObjectId,
  super.flags,
  super.updatedAt,
  super.name,
  super.subject,
  super.hidden,
  super.customData,
}) : super(type: AnnotationType.widget);