reset method
Resets the field to its initial value.
Implementation
@override
void reset() {
super.reset();
if (widget.initialValue != null) {
setState(() {
_effectiveController!.text = widget.initialValue!;
});
}
}
Resets the field to its initial value.
@override
void reset() {
super.reset();
if (widget.initialValue != null) {
setState(() {
_effectiveController!.text = widget.initialValue!;
});
}
}