Package-level declarations

Functions

Link copied to clipboard
fun BottomSheetScaffold(sheetContent: @Composable BoxScope.() -> Unit, modifier: Modifier = Modifier, sheetPeekHeight: Dp = BottomSheetDefaults.SheetPeekHeight, scaffoldState: BottomSheetScaffoldState = rememberBottomSheetScaffoldState(), sheetSwipeEnabled: Boolean = true, sheetDragHandle: @Composable () -> Unit? = { DragHandle() }, topBar: @Composable () -> Unit? = null, snackbarHost: @Composable (SnackbarHostState) -> Unit = { androidx.compose.material3.SnackbarHost(it) }, content: @Composable (PaddingValues) -> Unit)

BottomSheetScaffold is a composable that implements a scaffold with a bottom sheet. It is a wrapper around androidx.compose.material3.BottomSheetScaffold. It provides a way to display a bottom sheet that can be swiped up and down. The scaffold can have a top bar, a screen content, a bottom sheet content, and a drag handle. The scaffold can also have a snackbar host.