style property
Gets or sets the style.
The default style is check.
Implementation
PdfCheckBoxStyle get style =>
_checkBaseHelper.isLoadedField ? _checkBaseHelper._obtainStyle() : _style;
Implementation
@override
set style(PdfCheckBoxStyle value) {
if (_radioButtonListItemHelper.isLoadedField) {
_radioButtonListItemHelper.assignStyle(value);
if (PdfFormHelper.getHelper(form!).needAppearances == false) {
PdfFieldHelper.getHelper(_radioButtonListItemHelper._field!).changed =
true;
PdfFieldHelper.getHelper(_radioButtonListItemHelper._field!)
.fieldChanged = true;
}
} else {
if (super.style != value) {
super.style = value;
WidgetAnnotationHelper.getHelper(_radioButtonListItemHelper.widget!)
.widgetAppearance!
.normalCaption =
_radioButtonListItemHelper.styleToString(super.style);
}
}
}