akshathjain / sliding_up_panel

A draggable Flutter widget that makes implementing a SlidingUpPanel much easier!
https://pub.dartlang.org/packages/sliding_up_panel
Other
1.36k stars 379 forks source link

Adding item to panel dynamically doesn't update panel's height #273

Open maxbeech opened 2 years ago

maxbeech commented 2 years ago

Describe the bug When I add a widget to a panel dynamically after the initial load, the panel's height does not increase, meaning that the bottom of the panel gets cut off and I get the A RenderFlex overflowed by 27 pixels on the bottom. error.

What can I do to ensure the panel updates its height in this case please?

To Reproduce Add a widget to the panel dynamically via the condition ? widget : widget logic.

Thanks so much!