reset method

  1. @override
void reset()
override

Resets the field to its initial value.

Implementation

@override
void reset() {
  effectiveController.text = widget.initialValue ?? '';
  super.reset();
  widget.onChange?.call(effectiveController.text);
}