hideTextInput function

Future<void> hideTextInput()

Hide keyboard by invoking the "TextInput.hide" method on SystemChannels.textInput.

Used by the KeyboardHider widget if the hide mode is set to HideMode.hideTextInput.

This function hides the keyboard, but it will not unfocus the focus scope node, so if a text field was in focus, it will stay highlighted.

Implementation

Future<void> hideTextInput() => textInput.invokeMethod('TextInput.hide');