composable

fun NavGraphBuilder.composable(navDestination: NavDestination<*>, arguments: List<NamedNavArgument> = navDestination.arguments, deepLinks: List<NavDeepLink> = navDestination.deepLinks, content: @Composable (NavBackStackEntry) -> Unit)

Adds the content composable to the NavGraphBuilder as a WearNavigator.Destination.

Parameters

navDestination

navigation destination associated with the composable

arguments

list of arguments to associate with destination

deepLinks

list of deep links to associate with the destinations

content

composable for the destination