clearText method
void
clearText()
Implementation
void clearText() {
if (mounted) {
setState(() {
widget.controller?.text = "";
widget.onChanged?.call("");
});
}
}
void clearText() {
if (mounted) {
setState(() {
widget.controller?.text = "";
widget.onChanged?.call("");
});
}
}