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
Hello, is it possible to update the value of "selectedValue" from outside of the class?
(like when a button is pressed then selectedValue ="abc")
I tried a lot but the the value displays in the box only changes when taped on.
(I don't know how to trigger the Build methode)
The onchanged can trigger a setState , but I have not found another way to trigger a setState, updateSelectedValue would be idealy to to have a setState in ,but then it trouws an error.
The text was updated successfully, but these errors were encountered:
Hello, is it possible to update the value of "selectedValue" from outside of the class?
(like when a button is pressed then selectedValue ="abc")
I tried a lot but the the value displays in the box only changes when taped on.
(I don't know how to trigger the Build methode)
The onchanged can trigger a setState , but I have not found another way to trigger a setState, updateSelectedValue would be idealy to to have a setState in ,but then it trouws an error.
The text was updated successfully, but these errors were encountered: