You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I want to do is update the values in the text field as the slider changes and I tried setting and initial value in the TextField and calling a setState () and setting as a property in the stateful class.
Hi @jamiethain,
That's not normally how you'd go about changing the value of a TextField in Flutter.
I think the best way to go is to define a TextEditingController and use that to change the value of the TextField.
See my approach below:
I have a tree
What I want to do is update the values in the text field as the slider changes and I tried setting and initial value in the TextField and calling a setState () and setting as a property in the stateful class.
I had the FormBuildSlider onChanged call
Is there a proper way to set the values on the FormBuilder ?
With thanks,
The text was updated successfully, but these errors were encountered: