readOnly property

bool readOnly
final

Whether the text field should be read-only.

Read-only text fields cannot be modified, but may still be selectable.

Implementation

final bool readOnly;