Package-level declarations

Functions

Link copied to clipboard
fun NavGraphBuilder.composable(navDestination: NavDestination<*>, arguments: List<NamedNavArgument> = navDestination.arguments, deepLinks: List<NavDeepLink> = navDestination.deepLinks, content: @Composable (NavBackStackEntry) -> Unit)

Adds the content composable to the NavGraphBuilder as a WearNavigator.Destination.

Link copied to clipboard
fun SwipeDismissableNavHost(navController: NavHostController, startNavDestination: NavDestination<*>, modifier: Modifier = Modifier, userSwipeEnabled: Boolean = true, state: SwipeDismissableNavHostState = rememberSwipeDismissableNavHostState(), route: String? = null, builder: NavGraphBuilder.() -> Unit)

Provides a place in the Compose hierarchy for self-contained navigation to occur, with backwards navigation provided by a swipe gesture.