readOnly property

bool readOnly
inherited

Gets or sets a value indicating whether the PdfFormField is read-only.

Implementation

bool get readOnly => _readOnly;
  1. @override
void readOnly=(bool value)
override

Implementation

@override
set readOnly(bool value) {
  if (readOnly != value) {
    super.readOnly = value;
    if (_children != null && _children!.isNotEmpty) {
      for (final PdfCheckboxFormField item in _children!) {
        item.readOnly = value;
      }
    }
  }
}