Answers for "Text getting cleared when using TextEditingController"

0

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
Posted by: Guest on July-11-2021

Code answers related to "Text getting cleared when using TextEditingController"

Browse Popular Code Answers by Language