reset method
void
reset()
Resets the form field to its FormField.initialValue and clears any active errors.
Implementation
void reset() {
setState(() {
widget.value = widget.initialValue;
widget.errorText = null;
widget.touched = false;
});
}