reset method
Resets the field to its initial value.
Implementation
@override
void reset() {
super.reset();
controller.text = initialValue ?? '';
widget.onChanged?.call(controller.text);
}
Resets the field to its initial value.
@override
void reset() {
super.reset();
controller.text = initialValue ?? '';
widget.onChanged?.call(controller.text);
}