It's okay to use a BottomSheetScaffold even though...
# compose
l
It's okay to use a BottomSheetScaffold even though I will not use drawer, fab, and other parameters?
s
Yeah, but if you want, you can copy the implementation and remove the other slots which you are not interested in. I’ve done the same here where I needed the scaffold only to get the
bottomBar
slot.
l
Excellent! Will do that, thanks! 😄
s
Yeah just look at the original example, and simply remove the unnecessary parts, it was super simple actually. And I mean depending on which slot it is that you need, you may even get away without using a SubCompose layout at all. But it really depends on what you’re going for.
l
It worked perfect, thanks again 🙏
s
Glad I could help 🤗