Package-level declarations
Types
Link copied to clipboard
object StringAnnotation
AnnotatedString tags used by various Text composables in this module.
Functions
Link copied to clipboard
fun AnnotatedString.applyStyles(transform: (AnnotatedString.Range<String>) -> SpanStyle?): AnnotatedString
Returns a new AnnotatedString with SpanStyle matching AnnotatedString.Range. The transform function is invoked on each element of the annotations list.