Navigation Bar
fun NavigationBar(modifier: Modifier = Modifier, color: Color = MiuixTheme.colorScheme.surface, showDivider: Boolean = true, defaultWindowInsetsPadding: Boolean = true, mode: NavigationBarDisplayMode = NavigationBarDisplayMode.IconAndText, content: @Composable RowScope.() -> Unit)
A NavigationBar that with 2 to 5 items.
Parameters
modifier
The modifier to be applied to the NavigationBar.
color
The color of the NavigationBar.
show Divider
Whether to show the divider line between the NavigationBar and the content.
default Window Insets Padding
whether to apply default window insets padding to the NavigationBar.
mode
The mode for displaying items in the NavigationBar. It can show icons, text or both.
content
The content of the NavigationBar, usually NavigationBarItems.