Flutter – Keyboard opening and closing immediately due to multiple rebuilds when tapping on TextFormField
For debugging purposes, I had put a print statement inside the build method and I noticed that the whole widget was rebuilding multiple times when the TextFormField was tapped. The keyboard opens up, and then immediately closes. This is my…