readonly property

bool get readonly

Whether the control is readonly.

Readonly controls should not accept user input and typically do not display validation errors.

Implementation

bool get readonly => formControl.readonly;