readOnly property

bool get readOnly
inherited

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

Implementation

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

Implementation

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