navigation
fun NavGraphBuilder.navigation(startDestination: String, route: String, arguments: List<NamedNavArgument> = emptyList(), deepLinks: List<NavDeepLink> = emptyList(), enterTransition: AnimatedContentScope<NavBackStackEntry>.() -> EnterTransition?? = null, exitTransition: AnimatedContentScope<NavBackStackEntry>.() -> ExitTransition?? = null, popEnterTransition: AnimatedContentScope<NavBackStackEntry>.() -> EnterTransition?? = enterTransition, popExitTransition: AnimatedContentScope<NavBackStackEntry>.() -> ExitTransition?? = exitTransition, builder: NavGraphBuilder.() -> Unit)
Content copied to clipboard
Construct a nested NavGraph
Return
the newly constructed nested NavGraph
Parameters
startDestination
the starting destination's route for this NavGraph
route
the destination's unique route
arguments
list of arguments to associate with destination
deepLinks
list of deep links to associate with the destinations
enterTransition
callback to define enter transitions for destination in this NavGraph
exitTransition
callback to define exit transitions for destination in this NavGraph
popEnterTransition
callback to define pop enter transitions for destination in this NavGraph
popExitTransition
callback to define pop exit transitions for destination in this NavGraph
builder
the builder used to construct the graph