NavigationBar
fun NavigationBar(modifier: Modifier = Modifier, windowInsets: WindowInsets = NavigationBarDefaults.windowInsets, elevation: Dp = NavigationBarDefaults.Elevation, content: @Composable RowScope.() -> Unit)
Material Design bottom navigation bar.
Navigation bars offer a persistent and convenient way to switch between main destinations in an app.
NavigationBar should contain three to five NavigationBarItems, each representing a singular destination.
See NavigationBarItem for configuration specific to each item, and not the overall NavigationBar component.
Parameters
modifier
the Modifier to be applied to this navigation bar
elevation
when containerColor is ColorScheme.surface, a translucent main 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
a window insets of the navigation bar.
content
the content of this navigation bar, typically 3-5 NavigationBarItems