NavigationState

constructor(startRoute: NavKey, topLevelRoute: MutableState<NavKey>, topLevelRoutes: Set<NavigationKey>, backStacks: Map<NavKey, NavBackStack<NavKey>>)

Parameters

startRoute
  • the start route. The user will exit the app through this route.

topLevelRoute
  • the current top level route

backStacks
  • the back stacks for each top level route