Dominaezzz
06/08/2021, 8:50 PMval text = buildAnnotatedString {
appendInlineContent("image")
append(" is a person.")
}
val person = InlineTextContent(
placeholder = Placeholder(1.em, 1.em, PlaceholderVerticalAlign.Center),
children = {
Image(Icons.Filled.Person)
}
)
Text(text, inlineContent = mapOf("image" to person))
I think InlineTextContext
alignment is broken and want to see if it's desktop only.Albert Chang
06/09/2021, 12:17 AMDominaezzz
06/09/2021, 6:11 AM