EntryProvider

typealias EntryProvider = (Any) -> NavEntry<Any>

Type alias for a function that provides navigation entries based on a route/destination.

An EntryProvider takes any route object and returns the corresponding NavEntry that contains the composable content for that destination. This enables type-safe navigation with Koin dependency injection.

See also

for defining navigation entries in Koin modules