deactiveTextInput method
void
deactiveTextInput()
Implementation
void deactiveTextInput() {
// Clear range select when text input is not active.
updateEditingValue(_value.copyWith(selection: TextSelection(baseOffset: 0, extentOffset: 0)));
// Hide input handles and toolbar.
_textSelectionDelegate.hideToolbar();
_cursorVisibilityNotifier.value = false;
if (_textInputConnection != null && _textInputConnection!.attached) {
_textInputConnection!.close();
}
_stopCursorTimer();
}