I have an AnnotatedString which I use in ClickableText:
val annotatedText = buildAnnotatedString {
withStyle(
style = SpanStyle(
color = colorResource(R.color.blue_color))
)
) {
append(text = "Some text here")
}
ClickableText( text = annotatedText, maxLines = 2...)
Now I'd like to add an Icon at the end of my ClickableText. How could I do this?