reset method

  1. @override
void reset()
override

Resets the field to its initial value.

Implementation

@override
void reset() {
  controller.value = controller.initialValue;
  super.reset();
}