status property Null safety

ControlStatus status

The validation status of the control.

There are four possible validation status values:

  • VALID: This control has passed all validation checks.
  • INVALID: This control has failed at least one validation check.
  • PENDING: This control is in the midst of conducting a validation check.

These status values are mutually exclusive, so a control cannot be both valid AND invalid or invalid AND pending.

Implementation

ControlStatus get status => _status;