How to properly pre-fill flutter form field?

Posted by Andre Scott | Updated on

Want to properly pre-fill flutter form field? Figured it out: switched from TextFormField to TextField, created local variables to store changes to the fields, and used initState to set initial form values instead of doing it in build.


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