readOnly property

bool get readOnly

Returns true if the field is read only.

See FormBuilder.skipDisabled for more information.

Implementation

bool get readOnly => !(_formBuilderState?.widget.skipDisabled ?? false);