Android, Jetpack Compose, Android App Development, Mobile App Development, Programming.
Arrangement.Center, horizontalAlignment = Alignment.CenterHorizontally, modifier = Modifier.fillMaxSize() ) { Text(text) Button(onClick = onClick) { Text(textButton) } } } Declaring routes Firstly, we will declare our routes with custom type. You can use pure object instances, but the sealed class