Resets the field to its initial value.
Source
void reset() {
setState(() {
_value = config.initialValue;
_errorText = null;
});
}
Resets the field to its initial value.
void reset() {
setState(() {
_value = config.initialValue;
_errorText = null;
});
}