NavigationBarComponentOverrideContext


Parameters available to NavigationBar.

Summary

Public properties

Color

the color used for the background of this navigation bar.

Cmn
@Composable RowScope.() -> Unit

the content of this navigation bar, typically 3-5 NavigationBarItems

Cmn
Color

the preferred color for content inside this navigation bar.

Cmn
Modifier

the Modifier to be applied to this navigation bar

Cmn
Dp

when containerColor is ColorScheme.surface, a translucent primary color overlay is applied on top of the container.

Cmn
WindowInsets

a window insets of the navigation bar.

Cmn

Public properties

containerColor

val containerColorColor

the color used for the background of this navigation bar. Use Color.Transparent to have no color.

content

val content: @Composable RowScope.() -> Unit

the content of this navigation bar, typically 3-5 NavigationBarItems

contentColor

val contentColorColor

the preferred color for content inside this navigation bar. Defaults to either the matching content color for containerColor, or to the current LocalContentColor if containerColor is not a color from the theme.

modifier

val modifierModifier

the Modifier to be applied to this navigation bar

tonalElevation

val tonalElevationDp

when containerColor is ColorScheme.surface, a translucent primary color overlay is applied on top of the container. A higher tonal elevation value will result in a darker color in light theme and lighter color in dark theme. See also: Surface.

windowInsets

val windowInsetsWindowInsets

a window insets of the navigation bar.