WideNavigationRailOverrideScope

Class

Common
@ExperimentalMaterial3ComponentOverrideApi
class WideNavigationRailOverrideScope
internal constructor(
    val modifier: Modifier,
    val state: WideNavigationRailState,
    val shape: Shape,
    val colors: WideNavigationRailColors,
    val header: @Composable (() -> Unit)?,
    val windowInsets: WindowInsets,
    val arrangement: Arrangement.Vertical,
    val content: @Composable () -> Unit,
)

Parameters available to WideNavigationRail.

Parameters

modifierthe Modifier to be applied to this wide navigation rail
statethe WideNavigationRailState of this wide navigation rail
shapedefines the shape of this wide navigation rail's container.
colorsWideNavigationRailColors that will be used to resolve the colors used for this wide navigation rail. See WideNavigationRailDefaults.colors
headeroptional header that may hold a FloatingActionButton or a logo
windowInsetsa window insets of the wide navigation rail
arrangementthe Arrangement.Vertical of this wide navigation rail for its content. Note that if there's a header present, the items will be arranged on the remaining space below it, except for the center arrangement which considers the entire height of the container
contentthe content of this wide navigation rail, typically WideNavigationRailItems