Expansion Tile collapse Overflow
I am trying to make a dynamic Container where the height of the Container itself can changed based on the ExpansionTile. If the Expansion Tile is being expand, then the width will increase, but if it’s being collapsed, the width will back to normal. But I found that when it’s being collapsed, there are overflow. How do I fix it?
Expansion Tile overflow
I am using Expansion Tile in the Enter Address manually layout and I’ve found that there is overflow. I try to fix it using ternary operator where I adjust it from Expanded to SingleChildScrollView. The reason I use it because if I use SingleChildScrollView, the button will only being shown half in the layout and we need to scroll it. How do I fix it?
enter image description here