I have precisely one TextField on the screen of my Flutter app. I want my Flutter app to both work on the desktop and on mobile.
Whenever the app is active I want all text input to go into the TextField. When the user clicks on the area outside of the TextField I still want the TextField to get all keyboard input.
What's the best way to achieve this?
if you mean not closing the keyboard by clicking out side here is the solution:
EDIT:
I'm clicking outside but the keyboard won't be hide until I click on Done.
happy coding...