valid property
bool
get
valid
Whether the control's current value is valid.
Implementation
bool get valid => error == null;
Whether the control's current value is valid.
bool get valid => error == null;