AndroidDev, Jetpack Compose.
with the destination you want to navigate to. No route string when defining the start destination of a navigation graph. For the Profile screen, we use the toRoute() extension method to recreate the Profile object from the NavBackStackEntry and its arguments. There’s a similar extension method on