PdfButtonField constructor

PdfButtonField({
  1. required PdfRect rect,
  2. required String fieldName,
  3. String? alternateName,
  4. String? mappingName,
  5. PdfBorder? border,
  6. Set<PdfAnnotFlags>? flags,
  7. DateTime? date,
  8. PdfColor? color,
  9. PdfColor? backgroundColor,
  10. PdfAnnotHighlighting? highlighting,
  11. Set<PdfFieldFlags>? fieldFlags,
  12. String? value,
  13. 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,
      );