SparkStringAnnotations

Represents a set of annotations supported by spark that can be used in a string resource.

Functions

Link copied to clipboard
fun toSpanStyle(annotation: Annotation, colors: SparkColors, typography: SparkTypography): SpanStyle?

Given a string representing an annotation key and a string representing an annotation value, returns the corresponding SpanStyle.