PdfTextField constructor

PdfTextField({
  1. required PdfRect rect,
  2. String? fieldName,
  3. String? alternateName,
  4. String? mappingName,
  5. PdfBorder? border,
  6. Set<PdfAnnotFlags>? flags,
  7. DateTime? date,
  8. String? subject,
  9. String? author,
  10. PdfColor? color,
  11. PdfColor? backgroundColor,
  12. PdfAnnotHighlighting? highlighting,
  13. Set<PdfFieldFlags>? fieldFlags,
  14. String? value,
  15. String? defaultValue,
  16. int? maxLength,
  17. required PdfFont font,
  18. required double fontSize,
  19. required PdfColor textColor,
  20. PdfTextFieldAlign? textAlign,
})

Implementation

PdfTextField({
  required PdfRect rect,
  String? fieldName,
  String? alternateName,
  String? mappingName,
  PdfBorder? border,
  Set<PdfAnnotFlags>? flags,
  DateTime? date,
  String? subject,
  String? author,
  PdfColor? color,
  PdfColor? backgroundColor,
  PdfAnnotHighlighting? highlighting,
  Set<PdfFieldFlags>? fieldFlags,
  this.value,
  this.defaultValue,
  this.maxLength,
  required this.font,
  required this.fontSize,
  required this.textColor,
  this.textAlign,
}) : super(
        rect: rect,
        fieldType: '/Tx',
        fieldName: fieldName,
        border: border,
        flags: flags,
        date: date,
        subject: subject,
        author: author,
        color: color,
        backgroundColor: backgroundColor,
        highlighting: highlighting,
        alternateName: alternateName,
        mappingName: mappingName,
        fieldFlags: fieldFlags,
      );