PdfTextField constructor
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, - String? value,
- String? defaultValue,
- int? maxLength,
- required PdfFont font,
- required double fontSize,
- required PdfColor textColor,
- 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,
);