isReadOnly property
If true the TextField is clickable and selectable but not editable.
Implementation
@override
bool get isReadOnly {
ReactiveStatelessWidget.addToObs?.call(this);
getState;
if (_isReadOnly != null) {
return _isReadOnly!;
}
final isFormReadOnly = (form as InjectedFormImp?)?._isReadOnly;
if (isFormReadOnly != null) {
return isFormReadOnly;
}
return false;
}