Expandable widgets not stacking correctly when collapsed or expanded

Widgets & Design

Hi everyone,

I’m having trouble with expandable widgets in FlutterFlow. I’m trying to create an expandable widget for each day of the week, but I’m facing an issue with how they stack. When the widgets are collapsed or expanded, they don't adjust dynamically and don’t stack properly on top of each other. It seems like they don’t allow a dynamic height to adjust based on their expanded/collapsed state.

This is my widget tree:

I have tried using a Column and a Stack instead of a ListView, but it didn't work.

If I set the Container and Expandable height to 100%, then one day's cards takes up the entire page and overflows into the next day's expandable. It doesn't allow me to set a height of infinity in both the Container and Expandable.

All I want to do is stack Monday to Sunday Expandables on each other, and when expanded it must shift the other content down.

Has anyone faced a similar issue or found a way to resolve this? I’d appreciate any advice or suggestions on how to get the expandable widgets to behave properly in terms of stacking and dynamic height.

Thanks in advance for the help!

What have you tried so far?

I have tried using a Column and a Stack instead of a ListView, but it didn't work.

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