Package-level declarations

Types

Link copied to clipboard
annotation class BackStackBack

Supplies a generated destination with a callback that pops the current route from the back stack.

Link copied to clipboard
annotation class CustomAction

Supplies a feature screen with a custom callback implemented by the application.

Link copied to clipboard
annotation class NavigateTo(val route: KClass<out NavKey>)

Supplies a generated destination with a callback that navigates to another generated screen in the same or another graph in this KSP module.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Screen(val graph: String, val route: String = "")

Marks a top-level composable as a Navigation 3 destination for KSP code generation.

Link copied to clipboard
annotation class ScreenKoinViewModel

Marks a ViewModel parameter to be resolved by Koin in the generated Navigation 3 entry.