Class

ComposeNavigator.Destination

NavDestination specific to ComposeNavigator

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
@NavDestination.ClassType(Composable::class)
public class Destination(
    navigator: ComposeNavigator,
    internal val content:
        @Composable
        AnimatedContentScope.(@JvmSuppressWildcards NavBackStackEntry) -> Unit,
) : NavDestination(navigator)

NavDestination specific to ComposeNavigator

Secondary Constructors

public constructor(
        navigator: ComposeNavigator,
        content: @Composable (NavBackStackEntry) -> @JvmSuppressWildcards Unit,
    ) : this(navigator, content = { entry -> content(entry) })