androidx.compose.material3

ModalBottomSheetPropertiesExperimental

Class

No hand-written docs yet.

Properties used to customize the behavior of a ModalBottomSheet.

class ModalBottomSheetProperties(
    shouldDismissOnBackPress: Boolean = true,
    shouldDismissOnClickOutside: Boolean = true,
)

How to get one

Create it

Ready-made values and functions that return it

Used by

Parameters that take a ModalBottomSheetProperties.

Properties

shouldDismissOnBackPress

val shouldDismissOnBackPress: Boolean

shouldDismissOnClickOutsideSince 1.9

val shouldDismissOnClickOutside: Boolean
Library docs

Properties used to customize the behavior of a ModalBottomSheet.