void reset()

Resets the field to its initial value.

Source

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