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 PdfRect rect,
  required this.fieldType,
  this.fieldName,
  PdfBorder? border,
  Set<PdfAnnotFlags>? flags,
  DateTime? date,
  PdfColor? color,
  this.backgroundColor,
  this.highlighting,
  String? subject,
  String? author,
}) : super(
        subtype: '/Widget',
        rect: rect,
        border: border,
        flags: flags,
        date: date,
        color: color,
        subject: subject,
        author: author,
      );