NavigationView

@Composable
fun NavigationView(state: NavigationViewState, modifier: Modifier = Modifier, animateTransitions: Boolean = true, horizontallyHomogenous: Boolean = false, popOnEscape: Boolean = true, verticallyHomogenous: Boolean = false, content: @Composable () -> Unit = {})

Creates a org.gnome.adw.NavigationView used to display navigation pages.

Parameters

state

A NavigationViewState used to control navigation pages.

modifier

Compose Modifier for layout and styling.

animateTransitions

Whether page transitions are animated.

horizontallyHomogenous

Whether the view is horizontally homogeneous.

popOnEscape

Whether pressing Escape pops the current page.

verticallyHomogenous

Whether the view is vertically homogeneous.

content

Composable NavigationPage widgets.