readOnly property Null safety
final
Whether the text can be changed.
When this is set to true, the text cannot be modified by any shortcut or keyboard operation. The text is still selectable.
Defaults to false. Must not be null.
Implementation
final bool readOnly;