0

Unsuccessful alternatives:

  1. Unfocus current primary focus --> Loosing focus
  2. Unfocus current primary focus and requesting focus again --> Keyboard gets opened again
  3. 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.

A.A
  • 13
  • 1
  • 4

0 Answers0