ModalBottomSheetProperties

@Immutable
expect class ModalBottomSheetProperties(shouldDismissOnBackPress: Boolean = true)

Properties used to customize the behavior of a ModalBottomSheet.

Parameters

shouldDismissOnBackPress

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

Constructors

Link copied to clipboard
expect constructor(shouldDismissOnBackPress: Boolean = true)

Properties

Link copied to clipboard