androidx.compose.material3

DrawerDefaults

Object

No hand-written docs yet.

Object to hold default values for ModalNavigationDrawer

object DrawerDefaults

Properties

ModalDrawerElevation

val ModalDrawerElevation: Dp

Default Elevation for drawer container in the ModalNavigationDrawer.

PermanentDrawerElevation

val PermanentDrawerElevation: Dp

Default Elevation for drawer container in the PermanentNavigationDrawer.

DismissibleDrawerElevation

val DismissibleDrawerElevation: Dp

Default Elevation for drawer container in the DismissibleNavigationDrawer.

shape

@Composable val shape: Shape

Default shape for a navigation drawer.

scrimColor

@Composable val scrimColor: Color

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

standardContainerColor

@Composable val standardContainerColor: Color

Default container color for a DismissibleNavigationDrawer and PermanentNavigationDrawer

modalContainerColor

@Composable val modalContainerColor: Color

Default container color for a ModalNavigationDrawer

MaximumDrawerWidth

val MaximumDrawerWidth: Dp

Default and maximum width of a navigation drawer

windowInsets

@Composable val windowInsets: WindowInsets

Default window insets for drawer sheets

Library docs

Object to hold default values for ModalNavigationDrawer