InkAnnotation constructor

InkAnnotation({
  1. String? id,
  2. required InkLines lines,
  3. required double lineWidth,
  4. required List<double> bbox,
  5. String? createdAt,
  6. required int pageIndex,
  7. bool isDrawnNaturally = false,
  8. bool? isSignature,
  9. Color? strokeColor,
  10. Color? backgroundColor,
  11. BlendMode? blendMode,
  12. String? note,
  13. String? creatorName,
  14. double opacity = 1.0,
  15. int? pdfObjectId,
  16. List<AnnotationFlag>? flags,
  17. String? updatedAt,
  18. String? name,
  19. String? subject,
  20. bool hidden = false,
  21. Map<String, dynamic>? customData,
})

Implementation

InkAnnotation({
  super.id,
  required this.lines,
  required this.lineWidth,
  required super.bbox,
  super.createdAt,
  required super.pageIndex,
  this.isDrawnNaturally = false,
  this.isSignature,
  this.strokeColor,
  this.backgroundColor,
  this.blendMode,
  this.note,
  super.creatorName,
  super.opacity,
  super.pdfObjectId,
  super.flags,
  super.updatedAt,
  super.name,
  super.subject,
  super.hidden = false,
  super.customData,
}) : super(type: AnnotationType.ink);