buildOudsAnnotatedDisplayText
inline fun buildOudsAnnotatedDisplayText(builder: OudsAnnotatedDisplayText.Builder.() -> Unit): OudsAnnotatedDisplayText
Creates an OudsAnnotatedDisplayText using a builder DSL.
Example:
buildOudsAnnotatedDisplayText {
append("This is ")
withColor(OudsTheme.colorScheme.content.brandSecondary) {
append("brand secondary text")
}
}Content copied to clipboard
Return
The constructed annotated display text.
Parameters
builder
Lambda with receiver for building the annotated string.