reset method
Resets the field to its initial value.
Implementation
@override
void reset() {
super.reset();
didChange(initialValue);
_dirty = false;
if (_customErrorText != null) {
setState(() => _customErrorText = null);
}
widget.onReset?.call();
}