Display options based on dropdown selection. Please help

Troubleshooting

I really need help on this one because it goes over my abilities of using FF.

So what i want to achieve is this: as you can see from the picture I have a first dropdown menu where user can select the type of room (bedroom, kitchen for example). After that, in the second container I want that the dropdown shows the furniture items related only to that room. After that I need to click "add to room" and display it below as a list.

What have you tried so far?

What I did so far: I created in firebase the basic database like this: rooms --> document for each type of room --> in each type of room I created a subcollection "furniture" --> inside each subcollection furniture i add a document for each item in the room.

I tried to ask chatgpt for this but i got lost and i am superconfused now.

I created 2 page state variables: selectedRoomType and selectedForniture

Did you check FlutterFlow's Documentation for this topic?
Yes
2
6 replies