clearContent method
void
clearContent()
Implementation
void clearContent() {
setState(() {
widget.controller?.text = "";
widget.onChanged?.call("");
// widget.onSubmitted?.call("");
// widget.onEditingComplete?.call();
_hasContent = false;
});
}