How to listen to keyboard on screen in Flutter?

Posted by Andre Scott | Updated on

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:


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.

Related Questions & Answers