clearHistory method
      
void
clearHistory()
      
     
    
clearHistory method to clear the history stack of editor
Implementation
void clearHistory() async {
  await _editorKey?.currentState?._clearHistory();
}clearHistory method to clear the history stack of editor
void clearHistory() async {
  await _editorKey?.currentState?._clearHistory();
}