reset method
void
reset()
Resets the field to initialValue and clears any error.
Implementation
void reset() {
_value = widget.initialValue;
_errorText = null;
setState(() {});
}
Resets the field to initialValue and clears any error.
void reset() {
_value = widget.initialValue;
_errorText = null;
setState(() {});
}