snapping_sheet icon indicating copy to clipboard operation
snapping_sheet copied to clipboard

Allow the sheet content to wrap according to the widget height provided to it.

Open BobFactory opened this issue 4 years ago • 1 comments

Hi,

Thanks for such a good library. I just have one problem, I have states in which the content of the sheet can be dynamically changed. Like in editing state I want to show an additional button of delete. At present, the snap positions are what determines the height available for the sheet content. I want a feature where I can specify the starting point and the sheet determines its last snap position based on the height of the content. I think this will be a great feature to add to since this is like the basic functionality of a bottom sheet.

PS: Why does the content which is rendered SnappingContentSheet stretch it's content to the height. Why cant it just render it like. a column where the item wraps to its own height?

BobFactory avatar Sep 24 '20 08:09 BobFactory

this would be a really nice feature to have. automatically wraping to its content would open a lot of UX possibilities with dynamic interfaces.

letiagoalves avatar Jan 28 '21 22:01 letiagoalves