Flutter TextField with controller resetting after TextInputType change
I had to put the TextEditingControllers inside a Stateful Widget, that did end up working. Thanks to Jonah Williams for the fast reply!
In your case you had to declare a StatefulWidget. A similar issue can be caused if the controllers are defined inside the build function