PdfChoiceField constructor

PdfChoiceField({
  1. required PdfRect rect,
  2. required PdfColor textColor,
  3. required PdfFont font,
  4. required double fontSize,
  5. required List<String> items,
  6. String? fieldName,
  7. String? value,
  8. String? defaultValue,
})

Implementation

PdfChoiceField({
  required PdfRect rect,
  required this.textColor,
  required this.font,
  required this.fontSize,
  required this.items,
  String? fieldName,
  this.value,
  this.defaultValue,
}) : super(
        rect: rect,
        fieldType: '/Ch',
        fieldName: fieldName,
      );