toDecoratedEntries

fun toDecoratedEntries(entryDecorators: List<NavEntryDecorator<NavKey>> = listOf(), entryProvider: (NavKey) -> NavEntry<NavKey>): List<NavEntry<NavKey>>

Convert the navigation state into NavEntrys that have been decorated with a SaveableStateHolder.

Parameters

entryProvider
  • the entry provider used to convert the keys in the back stacks to NavEntrys.