Package-level declarations

Functions

Link copied to clipboard
inline fun <T : Any> NavGraphBuilder.composable(typeMap: Map<KType, @JvmSuppressWildcards NavType<*>> = emptyMap(), deepLinks: List<NavDeepLink> = emptyList(), noinline content: @Composable (NavBackStackEntry) -> Unit)

Add the Composable to the NavGraphBuilder.

Link copied to clipboard
fun SwipeDismissableNavHost(navController: NavHostController, startDestination: Any, modifier: Modifier = Modifier, userSwipeEnabled: Boolean = true, state: SwipeDismissableNavHostState = rememberSwipeDismissableNavHostState(), route: KClass<*>? = 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.