getReadOnly method

bool getReadOnly()

Returns the readOnly of the matched EditableText via Widget.toDiagnosticsNode

Implementation

bool getReadOnly() {
  return getDiagnosticProp<bool>('readOnly');
}