I have a scaffold with a TextField inside. The keyboard always covers this field when it previously would move the field above the keyboard. This is happening on all the pages i
In case of complicated widget tree MediaQuery.of(context).viewInsets.bottom gives null even if the keyboard is open. So, we have to mutate values down the tree.
This package gives simple in use provider for getting info down the tree https://pub.dev/packages/flutter_keyboard_size
Or, you can mutate info about keyboard size down the tree by yourselves (you can look the code in the package).