Arrange the code lines of the Text composable in the correct order to get the following result:
Don't forget about proper indents.
Arrange the code lines of the Text composable in the correct order to get the following result:
Don't forget about proper indents.
}
withStyle(style = SpanStyle(fontStyle = FontStyle.Italic)) {
}
Text(
text = buildAnnotatedString {
}
append("Ice ")
append("Fire")
withStyle(style = SpanStyle(fontWeight = FontWeight.Bold)) {
)
append("and ")
Create a free account to access the full topic