Unsuccessful alternatives:
- Unfocus current primary focus --> Loosing focus
- Unfocus current primary focus and requesting focus again --> Keyboard gets opened again
- Setting textInputAction to TextInputAction.done --> Loosing focus
* When keyboard is opened and user tap into Android back button, then the behaviour is the one I want: Keyboard gets closed but focus remains on textfield.
I need to achieve that in:
a) Flutter Android projects.
b) Flutter Web projects executed in Android devices.