Jetpack Compose, Android App Development, Mobile App Development, Kotlin, Kotlin Beginners.
Arrangement.Center, modifier = Modifier.fillMaxSize() ) { OutlinedTextField(value = text.value, onValueChange = { text.value = it }) Button(onClick = { navController.navigate(route = Screen.Detail.route + "?text=${text.value}") }) { Text("Next Screen") } } } @Composable fun DetailScreen(text: