Is there an (out of the box) way to create an Expa...
# compose
b
Is there an (out of the box) way to create an Expanding BottomSheet, as defined in the Material Specs? https://material.io/components/sheets-bottom#expanding-bottom-sheet
I can probably roll my own by setting the peekheight to
0.dp
, and then building my own composable(s) for the “icon” at the bottom that controls the expansion/collapsing of the sheet …
But I was just wondering if there was already some “built-in” way to do it that I’m missing (I didn’t see anything in the docs for BottomSheetScaffold or BottomSheetScaffoldState)
k
@Bradleycorn did you find a way to do it nicely with compose?
b
No, but I never really tried too hard. We ended up with a different design pattern and didn’t need it.
k
Thanks, never understood why is something inside material design and then it takes 1000 lines of code to do it 😞