PdfAnnotText constructor

PdfAnnotText({
  1. required PdfRect rect,
  2. required String content,
  3. PdfBorder? border,
  4. String? name,
  5. Set<PdfAnnotFlags>? flags,
  6. DateTime? date,
  7. PdfColor? color,
  8. String? subject,
  9. String? author,
})

Create a text annotation

Implementation

PdfAnnotText({
  required PdfRect rect,
  required String content,
  PdfBorder? border,
  String? name,
  Set<PdfAnnotFlags>? flags,
  DateTime? date,
  PdfColor? color,
  String? subject,
  String? author,
}) : super(
        subtype: '/Text',
        rect: rect,
        border: border,
        content: content,
        name: name,
        flags: flags,
        date: date,
        color: color,
        subject: subject,
        author: author,
      );