Source set: Android
public class ModalWideNavigationRailProperties(
public val securePolicy: SecureFlagPolicy = SecureFlagPolicy.Inherit,
@get:Suppress("GetterSetterNames") public val shouldDismissOnBackPress: Boolean = true,
)
Properties used to customize the behavior of a ModalWideNavigationRail.
Parameters
| securePolicy | Policy for setting WindowManager.LayoutParams.FLAG_SECURE on the modal navigation rail's window. |
| shouldDismissOnBackPress | Whether the modal navigation rail can be dismissed by pressing the back button. If true, pressing the back button will call onDismissRequest. |
Source set: Common
public class ModalWideNavigationRailProperties(shouldDismissOnBackPress: Boolean = true)
Properties used to customize the behavior of a ModalWideNavigationRail.
Parameters
| shouldDismissOnBackPress | Whether the modal navigation rail can be dismissed by pressing the back button. If true, pressing the back button will call onDismissRequest. |
Properties
shouldDismissOnBackPress
Source set: Common
public val shouldDismissOnBackPress: Boolean