You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The events are not triggerred for me for X reasons, but I found a solution for my use case and since I'm not the only one here with this problem...
only for thoses who got TextField(s) in your business logic
You can check if the keyboard is visible or not by the NodeFocus.hasFocus property of your TextField
which have aswell a listener.
The events are not triggerred for me for X reasons, but I found a solution for my use case and since I'm not the only one here with this problem...
only for thoses who got TextField(s) in your business logic
You can check if the keyboard is visible or not by the NodeFocus.hasFocus property of your TextField
which have aswell a listener.
YourNodeFocus.addListener(() { print("Has focus: " + _nodeName.hasFocus.toString()); if (YourNodeName.hasFocus) { // keyboard visible } else { // keyboard hidden } });
Scotch solutions.
ref:
https://stackoverflow.com/questions/47965141/how-to-listen-focus-change-in-flutter
The text was updated successfully, but these errors were encountered: