readOnly property

bool get readOnly
inherited

Implementation

bool get readOnly => _status.readOnly;
set readOnly (bool readOnly)
inherited

set field readonly or not

Implementation

set readOnly(bool readOnly) {
  _readOnly = readOnly;
  if (_isReadOnly != _status.readOnly) {
    setState(() {
      _status = _status._copyWith(readOnly: FormeOptional(_isReadOnly));
    });
  }
}