clearDictionaryResult method

void clearDictionaryResult()

Hide the dictionary and dispose of the current result.

Implementation

void clearDictionaryResult() async {
  _dictionaryResultNotifier.value = null;
  _popupPositionNotifier.value = null;
  appModel.currentMediaSource?.clearCurrentSentence();
  appModel.currentMediaSource?.clearExtraData();
}