Change selected value of dropdown from app state variable

Widgets & Design

Hello All

I have a dropdown with some options (like A, B, C). I have an app state variable which holds the value of the dropdown to be selected. When i set the app state as the initial option value of dropdown it works. But when the app state variable changes and also the rebuild current page is selected, the selected value of the dropdown is not refreshing even though the app state variable is changed.

Can't i change the selected value of a dropdown after it has been initialised through either app or page state variable? How can i change it programatically?

Thanks and Regards
Collin

What have you tried so far?

I have tried all possible options to update the dropdown value and searched also for some answers in forum. But couldn't find similar issue. This looks like a basic need of the dropdown. Not sure if i am missing something.

Did you check FlutterFlow's Documentation for this topic?
Yes
4
1 reply