readOnly property Null safety

bool readOnly

Whether this rendering object is read only.

Implementation

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

Implementation

set readOnly(bool value) {
  assert(value != null);
  if (_readOnly == value) {
    return;
  }
  _readOnly = value;
  markNeedsSemanticsUpdate();
}