Код: Выделить всё
rememberModalBottomSheetStateКод: Выделить всё
val bottomSheetState = rememberModalBottomSheetState()
ModalBottomSheet(
onDismissRequest = { /*TODO*/ },
sheetState = bottomSheetState,
containerColor = Color.White,
) {
Text(text = "Why am I showing?", color = Color.Black)
}
Подробнее здесь: https://stackoverflow.com/questions/765 ... ys-showing
Мобильная версия