🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

StringAnnotation

An AnnotatedString.Annotation class which holds a String value.

Source set: Common
public class StringAnnotation(public val value: String) : AnnotatedString.Annotation

An AnnotatedString.Annotation class which holds a String value.

You can use it to provide a custom annotation to the AnnotatedString.

If you use the AnnotatedString.Builder methods like withAnnotation and provide a string annotation, it will be automatically wrapped into this holder class.