It's okay to use a BottomSheetScaffold even though I will not use drawer, fab, and other parameters?
s
Stylianos Gakis
11/09/2022, 3:24 PM
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
Lisandro Di Meo
11/09/2022, 3:25 PM
Excellent! Will do that, thanks! 😄
s
Stylianos Gakis
11/09/2022, 3:39 PM
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.