PdfAnnotWidget constructor

PdfAnnotWidget({
  1. required PdfRect rect,
  2. required String fieldType,
  3. String? fieldName,
  4. PdfBorder? border,
  5. Set<PdfAnnotFlags>? flags,
  6. DateTime? date,
  7. PdfColor? color,
  8. PdfColor? backgroundColor,
  9. PdfAnnotHighlighting? highlighting,
  10. String? subject,
  11. String? author,
})

Create a widget annotation

Implementation

PdfAnnotWidget({
  required super.rect,
  required this.fieldType,
  this.fieldName,
  super.border,
  super.flags,
  super.date,
  super.color,
  this.backgroundColor,
  this.highlighting,
  super.subject,
  super.author,
}) : super(
        subtype: '/Widget',
      );