setState() clears the data in form element data flutter

Posted by Jennifer | Updated on

setState() clears the data in form element data flutter. With the given code, one mistake I can think of is creating TextEditingController every time.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers