WideNavigationRailDefaults

Properties

Link copied to clipboard
val arrangement: Arrangement.Vertical

Default arrangement for a wide navigation rail.

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

Default container shape of a wide navigation rail.

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

Default container shape of a collapsed ModalWideNavigationRail.

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

Default container shape of a modal wide navigation rail.

Link copied to clipboard

Properties used to customize the window behavior of a ModalWideNavigationRail.

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

Default container shape of a expanded ModalWideNavigationRail.

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

Default container shape of a wide navigation rail.

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

Default window insets for a wide navigation rail.

Functions

Link copied to clipboard
@Composable
fun colors(containerColor: Color = WideNavigationRailDefaults.containerColor, contentColor: Color = contentColorFor(containerColor), modalContainerColor: Color = NavigationRailExpandedTokens.ModalContainerColor.value, modalScrimColor: Color = ScrimTokens.ContainerColor.value.copy(ScrimTokens.ContainerOpacity), modalContentColor: Color = contentColorFor(modalContainerColor)): WideNavigationRailColors

Creates a WideNavigationRailColors with the provided colors according to the Material specification.