reset method

void reset()

Implementation

void reset() {
  _value = widget.initialValue;
  _errorText = null;
  setState(() {});
}