readOnly property

bool readOnly

If non-null, sets the SemanticsNode.isReadOnly semantic to the given value.

Implementation

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

Implementation

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