isReadOnly property

bool get isReadOnly

Whether the owning RenderObject is read only.

Only applicable when isTextField is true.

Implementation

bool get isReadOnly => _flags.isReadOnly;
set isReadOnly (bool value)

Implementation

set isReadOnly(bool value) {
  _flags = _flags.copyWith(isReadOnly: value);
  _hasBeenAnnotated = true;
}