isValid property Null safety
True if the current value is valid.
This will not set errorText or hasError and it will not update error display.
See also:
Implementation
bool get isValid => widget.validator?.call(_value) == null;
True if the current value is valid.
This will not set errorText or hasError and it will not update error display.
See also:
bool get isValid => widget.validator?.call(_value) == null;