decorate

fun String.decorate(vararg decorations: TextDecoration): AnnotatedString

Adds text decorations provided to this string

Return

the AnnotatedString created