ScreenAnnotation constructor

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

Implementation

ScreenAnnotation({
  super.id,
  required super.bbox,
  super.createdAt,
  super.creatorName,
  required this.mediaType,
  required this.source,
  this.autoplay,
  this.showControls,
  required super.pageIndex,
  super.opacity,
  super.pdfObjectId,
  super.flags,
  super.updatedAt,
  super.name,
  super.subject,
  super.hidden,
  super.customData,
}) : super(type: AnnotationType.screen);