PdfRadioButtonListField constructor
PdfRadioButtonListField(})
Initializes a new instance of the PdfRadioButtonListField class with the specific page, name and bounds.
Implementation
PdfRadioButtonListField(
PdfPage page,
String name, {
List<PdfRadioButtonListItem>? items,
int? selectedIndex,
String? selectedValue,
}) {
_helper = PdfRadioButtonListFieldHelper(this);
_helper.internal(page, name, Rect.zero);
_initValues(items, selectedIndex, selectedValue);
_helper.flags.add(FieldFlags.radio);
_helper.dictionary!.setProperty(
PdfDictionaryProperties.ft,
PdfName(PdfDictionaryProperties.btn),
);
}