Start native apps faster with the Composables CLI ->
Object

DrawerDefaults

Object to hold default values for ModalNavigationDrawer

Source set: Common
public object DrawerDefaults

Object to hold default values for ModalNavigationDrawer

Properties

ModalDrawerElevation

Source set: Common
public val ModalDrawerElevation: Dp = ElevationTokens.Level0

Default Elevation for drawer container in the ModalNavigationDrawer.

PermanentDrawerElevation

Source set: Common
public val PermanentDrawerElevation: Dp = NavigationDrawerTokens.StandardContainerElevation

Default Elevation for drawer container in the PermanentNavigationDrawer.

DismissibleDrawerElevation

Source set: Common
public val DismissibleDrawerElevation: Dp = NavigationDrawerTokens.StandardContainerElevation

Default Elevation for drawer container in the DismissibleNavigationDrawer.

shape

Source set: Common
public val shape: Shape

Default shape for a navigation drawer.

scrimColor

Source set: Common
public val scrimColor: Color

Default color of the scrim that obscures content when the drawer is open

containerColor

Source set: Common
@Deprecated(
        message = "Please use standardContainerColor or modalContainerColor instead.",
        replaceWith = ReplaceWith("standardContainerColor"),
        level = DeprecationLevel.WARNING,
    )
    public val containerColor: Color

Default container color for a navigation drawer

standardContainerColor

Source set: Common
public val standardContainerColor: Color

Default container color for a DismissibleNavigationDrawer and PermanentNavigationDrawer

modalContainerColor

Source set: Common
public val modalContainerColor: Color

Default container color for a ModalNavigationDrawer

MaximumDrawerWidth

Source set: Common
public val MaximumDrawerWidth: Dp = NavigationDrawerTokens.ContainerWidth

Default and maximum width of a navigation drawer

windowInsets

Source set: Common
public val windowInsets: WindowInsets

Default window insets for drawer sheets