Computer scienceMobileJetpack ComposeComposablesFoundation

Spacer and Padding

Text rotation

Report a typo

Finish the RotateText composable function to accomplish this:

Preview of `RotateText` function.

Fill in the gaps with the relevant elements
@Composable
fun RotateText() {
    Column {
        Text("Text 1")
        Text("Text 2",
            Modifier
                .( = (-8).dp)
                .rotate(180f))
    }
}
bottomtoppaddingypaddingFromBaselinexoffset

Create a free account to access the full topic