Navigation Rail
A non-expandable NavigationRail for wide screens.
Parameters
The modifier to be applied to the NavigationRail.
Whether the rail uses its expanded layout.
The header of the NavigationRail, usually a FloatingActionButton or a logo.
The color of the NavigationRail.
Whether to show the divider line between the NavigationRail and the content.
whether to apply default window insets padding to the NavigationRail.
The minimum width of the NavigationRail, used for the collapsed state.
The width of the NavigationRail when expanded is true.
The ScrollState of the rail's scrollable content column.
The content of the NavigationRail, usually NavigationRailItems.
An expandable NavigationRail for wide screens.
The rail shows a built-in toggle and animates between minWidth and expandedWidth according to state.
Parameters
The modifier to be applied to the NavigationRail.
Controls the expanded/collapsed state.
The header of the NavigationRail, usually a FloatingActionButton or a logo.
The color of the NavigationRail.
Whether to show the divider line between the NavigationRail and the content.
whether to apply default window insets padding to the NavigationRail.
The minimum width of the NavigationRail, used for the collapsed state.
The width of the NavigationRail when expanded.
The accessible description of the built-in toggle while the rail is collapsed; override it to localize the announcement.
The accessible description of the built-in toggle while the rail is expanded; override it to localize the announcement.
The ScrollState of the rail's scrollable content column.
The content of the NavigationRail, usually NavigationRailItems.