Fabio Grumiro
show()
ModalBottomSheet
val sheetState = rememberModalBottomSheetState() val scope = rememberCoroutineScope() Button(onClick = { scope.launch { sheetState.show() } }) { Text("Show sheet") } if (sheetState.isVisible) { ModalBottomSheet( sheetState = sheetState, onDismissRequest = { scope.launch { sheetState.hide() } }, ) { // content }
A modern programming language that makes developers happier.