DrawerDefaults

Object to hold default values for ModalNavigationDrawer

Properties

Link copied to clipboard
@get:Composable
val containerColor: Color

Default container color for a navigation drawer

Link copied to clipboard

Default Elevation for drawer container in the DismissibleNavigationDrawer.

Link copied to clipboard

Default and maximum width of a navigation drawer

Link copied to clipboard
@get:Composable
val modalContainerColor: Color

Default container color for a ModalNavigationDrawer

Link copied to clipboard

Default Elevation for drawer container in the ModalNavigationDrawer.

Link copied to clipboard

Default Elevation for drawer container in the PermanentNavigationDrawer.

Link copied to clipboard
@get:Composable
val scrimColor: Color

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

Link copied to clipboard
@get:Composable
val shape: Shape

Default shape for a navigation drawer.

Link copied to clipboard
@get:Composable
val standardContainerColor: Color

Default container color for a DismissibleNavigationDrawer and PermanentNavigationDrawer

Link copied to clipboard
@get:Composable
val windowInsets: WindowInsets

Default window insets for drawer sheets