onClearIcon method

void onClearIcon()

Implementation

void onClearIcon() {
  _onClear.add(null);
  showPopup = false;
  inputText = '';
}