getSelectedText method

Future getSelectedText()

getSelectedText method to get the selected text from editor

Implementation

Future getSelectedText() async {
  return await _editorKey?.currentState?._getSelectedText();
}