rememberNavigationController

Parameters

saver

The state saver used to restore the navigation controller's state.

startDestinations

The full list of start destinations. For each unique Destination.Args.backstackIndex you must provide a start Destination. Example:

val controller = rememberNavigationController(
saver = saver,
startDestinations = listOf(HomeDestination()),
)