BottomSheetStandard

fun BottomSheetStandard(title: String, modifier: Modifier = Modifier, sheetState: BottomSheetStandardState = rememberBottomSheetStandardState(), minimizedHeight: Dp = 256.dp, hasOpacityBlanket: Boolean = true, leftContent: @Composable () -> Unit? = null, bottomSheetStandardIcon1: BottomSheetStandardIcon? = null, bottomSheetStandardIcon2: BottomSheetStandardIcon? = null, sheetContent: @Composable () -> Unit, content: @Composable () -> Unit)

User interface element that slides up from the bottom of the screen to present additional content, actions, or options without completely obstructing the current view.

Standard bottom sheets allows users to interact with the background while staying on the screen, providing additional content, actions, or options without obstructing the main view.

Parameters

title

the String for the title of the bottom sheet.

modifier

optional Modifier to be applied to the BottomSheetModal. Defaults to Modifier.

sheetState

the BottomSheetStandardState of the bottom sheet. Defaults to rememberBottomSheetStandardState.

minimizedHeight

the Dp height for the Minimized state of the bottom sheet. Minimum height is 128.dp. Maximum height is 512.dp. Defaults to 256.dp.

hasOpacityBlanket

whether an opacity blanket should be shown behind the bottom sheet when expanded to max height. Defaults to true.

leftContent

optional content slot left of the title where specific type of content can be dynamically inserted or customized, for instance an icon or logo. Defaults to null.

bottomSheetStandardIcon1

optional BottomSheetStandardIcon to be displayed on the right side of the bottom sheet. Defaults to null.

bottomSheetStandardIcon2

optional BottomSheetStandardIcon to be displayed on the right side of the bottom sheet. Defaults to null.

sheetContent

content slot for the content of the bottom sheet.

content

content slot for the main content of the screen.