readOnly property

bool get readOnly

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

Implementation

bool get readOnly => _readOnly;
set readOnly (bool value)

Implementation

set readOnly(bool value) {
  if (_readOnly != value) {
    _readOnly = value;
    _helper.pdfField.readOnly = value;
    _helper.rebuild();
  }
}