ModalBottomSheetProperties

expect constructor(shouldDismissOnBackPress: Boolean = true, shouldDismissOnClickOutside: Boolean = true)

Parameters

shouldDismissOnBackPress

Whether the modal bottom sheet can be dismissed by pressing the back button. If true, pressing the back button will call onDismissRequest.

shouldDismissOnClickOutside

Whether the modal bottom sheet can be dismissed by clicking on the scrim.