invalid property Null safety

bool invalid

A control is invalid when its status is ControlStatus.invalid.

Implementation

bool get invalid => status == ControlStatus.invalid;