Answers for "controller bug empty value flutter"


controller bug empty value flutter

That's a problem on your end. The issue is that you are persisting objects 
inside a StatelessWidget.

You shouldn't.
Opening the keyboard tends to rebuild the whole screen (which is fine). But in 
your case rebuilding cause your TextEditingController to be GCed because you 
stored them inside a StatelessWidget
Posted by: Guest on March-01-2021

Browse Popular Code Answers by Language