Text getting cleared when using TextEditingController
The issue is that you are persisting objects inside a StatelessWidget.
Opening the keyboard tends to rebuild the whole screen (which is fine). But in
my case rebuilding cause your TextEditingController to be GCed because i
stored them inside a StatelessWidget