PHondogo
04/25/2023, 7:45 PMOthman El Jazouli
04/25/2023, 7:51 PMModalBottomSheetLayout
with a sheetState
val sheetState = rememberModalBottomSheetState(
initialValue = ModalBottomSheetValue.Hidden,
skipHalfExpanded = true,
confirmValueChange = { it != ModalBottomSheetValue.HalfExpanded }
)
and a sheetContent
which is your actual sheet stuff, and content
is your main screen, and you can play with sheetState
show/hide
this is used more for quick actions of the content screen