ModalBottomSheetDefaults
-
Cmn
@ExperimentalMaterial3Api
object ModalBottomSheetDefaults
Default values for ModalBottomSheet
Summary
Public functions |
||
|---|---|---|
ModalBottomSheetProperties |
This function is deprecated. 'isFocusable' param is no longer used. |
android
|
Public properties |
||
|---|---|---|
ModalBottomSheetProperties |
Properties used to customize the behavior of a |
Cmn
android
|
Public functions
properties
funproperties(
securePolicy: SecureFlagPolicy = SecureFlagPolicy.Inherit,
isFocusable: Boolean = true,
shouldDismissOnBackPress: Boolean = true
): ModalBottomSheetProperties
Properties used to customize the behavior of a ModalBottomSheet.
| Parameters | |
|---|---|
securePolicy: SecureFlagPolicy = SecureFlagPolicy.Inherit |
Policy for setting |
isFocusable: Boolean = true |
Whether the modal bottom sheet is focusable. When true, the modal bottom sheet will receive IME events and key presses, such as when the back button is pressed. |
shouldDismissOnBackPress: Boolean = true |
Whether the modal bottom sheet can be dismissed by pressing the back button. If true, pressing the back button will call onDismissRequest. Note that |
Public properties
properties
val properties: ModalBottomSheetProperties
Properties used to customize the behavior of a ModalBottomSheet.