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?

Returns the SpanStyle for the given annotation, or null if the key/value is unsupported.