Preview function

Report a typo

Fix the composable function to be able to preview the result of the written code. Don't forget about proper indents.

Tip: Generally, the order of the @Preview and @Composable annotations doesn't matter, but it is common to place the @Preview annotation first for readability.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                }
              
                @Composable
              
                fun DefaultPreview() {
              
                ApplicationTheme {
              
                Text(text = "Valar morghulis")
              
                @Preview
              
                }
              
___

Create a free account to access the full topic