Want to listen to keyboard on screen in Flutter? The keyboard will automatically appear when the text field is focused. So you can add a listner to the focusnode to listen the focus change and hide respective widget.
Here is a quick example:
// keyboard appeared
// keyboard dismissed
FocusNode _myNode = new FocusNode()..addListener(_listner);
TextField _myTextField = new TextField(
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.