ModalWideNavigationRailOverrideScope

Parameters available to ModalWideNavigationRail.

Parameters

modifier

the Modifier to be applied to this wide navigation rail

state

the WideNavigationRailState of this wide navigation rail

shouldHideOnCollapse

whether this wide navigation rail should slide offscreen when it collapses and be hidden, or stay on screen as a collapsed wide navigation rail (default)

collapsedShape

the shape of this wide navigation rail's container when it's collapsed

expandedShape

the shape of this wide navigation rail's container when it's expanded

colors

WideNavigationRailColors that will be used to resolve the colors used for this wide navigation rail. See WideNavigationRailDefaults.colors

header

optional header that may hold a FloatingActionButton or a logo

expandedHeaderTopPadding

the padding to be applied to the top of the rail. It's usually needed in order to align the content of the rail between the collapsed and expanded animation

windowInsets

a window insets of the wide navigation rail

arrangement

the Arrangement.Vertical of this wide navigation rail

expandedProperties

ModalWideNavigationRailProperties for further customization of the expanded modal wide navigation rail's window behavior

content

the content of this modal wide navigation rail, usually WideNavigationRailItems

Properties

Link copied to clipboard
val arrangement: Arrangement.Vertical
Link copied to clipboard
val collapsedShape: Shape
Link copied to clipboard
Link copied to clipboard
val content: @Composable () -> Unit
Link copied to clipboard
Link copied to clipboard
val expandedShape: Shape
Link copied to clipboard
val header: @Composable () -> Unit?
Link copied to clipboard
val modifier: Modifier
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val windowInsets: WindowInsets

Functions

Link copied to clipboard

Behavior function that is called by the WideNavigationRail component.