zsperske
09/11/2023, 9:19 PMBottomSheetState requires the developer supply a density? I’m just going to end up doing LocalDensity.current which seems like it would be fine as a default value internall.Stylianos Gakis
09/11/2023, 9:27 PMStylianos Gakis
09/11/2023, 10:58 PMLocalDensity.current as a default parameter since it can’t ready from composition locals by itself.
And for the convenience function which does this for you which can be called from composition already you got this https://github.com/androidx/androidx/blob/3e16a32094211f297ee74f1bbcfaa498175061dc[…]monMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt
I think that’s the idea herezsperske
09/11/2023, 11:03 PMzsperske
09/11/2023, 11:03 PM