Animated Nav Host
Provides in place in the Compose hierarchy for self contained navigation to occur.
Once this is called, any Composable within the given NavGraphBuilder can be navigated to from the provided navController.
The builder passed into this method is remembered. This means that for this NavHost, the contents of the builder cannot be changed.
Parameters
the navController for this host
the route for the start destination
The modifier to be applied to the layout.
the route for the graph
callback to define enter transitions for destination in this host
callback to define exit transitions for destination in this host
callback to define popEnter transitions for destination in this host
callback to define popExit transitions for destination in this host
the builder used to construct the graph
Provides in place in the Compose hierarchy for self contained navigation to occur.
Once this is called, any Composable within the given NavGraphBuilder can be navigated to from the provided navController.
Parameters
the navController for this host
the graph for this host
The modifier to be applied to the layout.
callback to define enter transitions for destination in this host
callback to define exit transitions for destination in this host
callback to define popEnter transitions for destination in this host
callback to define popExit transitions for destination in this host