modal_bottom_sheet
modal_bottom_sheet copied to clipboard
Dynamic & max height of modal sheet
Hi, I want to set the height of modal sheet same as the height of its contents. I don't want to show any white space below the list of options whose length is dynamic. Also while working with dynamic sheet, I would like the modal sheet to goto a certain max height only. How can I achieve these both things - dynamic height and max height of modal sheet?
Thanks Harshit
@wizard11 did you find a solution for this?
Any news on this topic? Harshit, did you found a solution? Thanks!
Hey guys, I haven't found an easy solution yet. So still using what is provided as it is not a critical requirement for us.
I made it pretty simple
Column(
mainAxisSize: MainAxisSize.min,
children: [...]
)
It renders exact height of all its children elements