BottomSheet
fun BottomSheet(onDismissRequest: () -> Unit, modifier: Modifier = Modifier, sheetState: SheetState = rememberModalBottomSheetState(), dragHandle: @Composable () -> Unit? = {
DragHandle()
}, applyTempStatusBarPadding: Boolean = false, content: @Composable ColumnScope.() -> Unit)(source)
Modal bottom sheets are used as an alternative to inline menus or simple dialogs on mobile, especially when offering a long list of action items, or when items require longer descriptions and icons. Like dialogs, modal bottom sheets appear in front of app content, disabling all other app functionality when they appear, and remaining on screen until confirmed, dismissed, or a required action has been taken.
Parameters
onDismissRequest
modifier
Optional Modifier for the bottom sheet.
sheetState
the state of the bottom sheet.
content
The content to be displayed inside the bottom sheet.
