I have button which is supposed to change the value of the initial option for a dropdown widget, just to clarify the button is in component A and the dropdown in is component B which is contained in component A.
I tried even creating an app state and rebuilds the whole app with each button press but even after rebuilding the initial option doesn't change, I was checking even the firestore everything is getting updated with each click, but still it doesn't get reflected in the component, unless I navigate to another page then go back, then it gets updated.
Thanks in forward.