focus method

Future focus()

Requests focus for the editor.

The focus method is used to request focus for the editor, bringing it into the active input state.

Implementation

Future focus() async {
  return await _editorKey?.currentState?._requestFocus();
}