clearContent method

void clearContent()

Implementation

void clearContent() {
  setState(() {
    widget.controller?.text = "";
    widget.onChanged?.call("");
  });
}