ModalBottomSheetScope

Functions

Link copied to clipboard
fun ModalBottomSheetScope.Scrim(modifier: Modifier = Modifier, scrimColor: Color = Color.Black.copy(0.6f), enter: EnterTransition = AppearInstantly, exit: ExitTransition = DisappearInstantly)

A scrim is used to darken the content behind the sheet in order to signify that the rest of the screen is not interactive.

Link copied to clipboard
fun ModalBottomSheetScope.Sheet(modifier: Modifier = Modifier, enabled: Boolean = true, content: @Composable BottomSheetScope.() -> Unit)

The main content area of the modal bottom sheet.