Source set: Android
public class ModalBottomSheetProperties
Properties used to customize the behavior of a ModalBottomSheet.
Properties
securePolicy
Source set: Android
public val securePolicy: SecureFlagPolicy
shouldDismissOnBackPress
Source set: Android
public val shouldDismissOnBackPress: Boolean
shouldDismissOnClickOutside
Source set: Android
public val shouldDismissOnClickOutside: Boolean
Functions
equals
Source set: Android
override fun equals(other: Any?): Boolean
Properties used to customize the behavior of a ModalBottomSheet.
Use this constructor to customize the behavior of status and navigation bars on the ModalBottomSheet window.
Parameters
| isAppearanceLightStatusBars | If true, changes the foreground color of the status bars to light so that the items on the bar can be read clearly. If false, reverts to the default appearance. |
| isAppearanceLightNavigationBars | If true, changes the foreground color of the navigation bars to light so that the items on the bar can be read clearly. If false, reverts to the default appearance. |
| securePolicy | Policy for setting WindowManager.LayoutParams.FLAG_SECURE on the bottom sheet's window. |
| 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. |
hashCode
Source set: Android
override fun hashCode(): Int