Jetpack Compose, Android App Development, Mobile App Development, Kotlin, Kotlin Beginners.
navArgument("text") { type = NavType.StringType nullable = true } ) ) { DetailScreen(text = it.arguments?.getString("text")) } } } Once we have this file in our project our app can compile. Running the app, we can see out navigation working in the screenshots below. If you got value from this