I want to hide/show some widgets in a Scaffold when a TextFormField has focus or not.
I've managed to do it by wrapping the TextField in a Focus widget but whenever I tap it to start typing the widgets I'm trying to hide disappear but the Keyboard loses focus until I tap the TextField a second time.
Any ideas why this is happening and how to prevent it?