PdfButtonField constructor
PdfButtonField({
- required PdfRect rect,
- required String fieldName,
- String? alternateName,
- String? mappingName,
- PdfBorder? border,
- Set<
PdfAnnotFlags> ? flags, - DateTime? date,
- PdfColor? color,
- PdfColor? backgroundColor,
- PdfAnnotHighlighting? highlighting,
- Set<
PdfFieldFlags> ? fieldFlags, - String? value,
- String? defaultValue,
Implementation
PdfButtonField({
required PdfRect rect,
required String fieldName,
String? alternateName,
String? mappingName,
PdfBorder? border,
Set<PdfAnnotFlags>? flags,
DateTime? date,
PdfColor? color,
PdfColor? backgroundColor,
PdfAnnotHighlighting? highlighting,
Set<PdfFieldFlags>? fieldFlags,
this.value,
this.defaultValue,
}) : super(
rect: rect,
fieldType: '/Btn',
fieldName: fieldName,
border: border,
flags: flags,
date: date,
color: color,
backgroundColor: backgroundColor,
highlighting: highlighting,
alternateName: alternateName,
mappingName: mappingName,
fieldFlags: fieldFlags,
);