buildOudsAnnotatedHeadingText

Creates an OudsAnnotatedHeadingText using a builder DSL.

Example:

buildOudsAnnotatedHeadingText {
append("This is ")
withColor(OudsTheme.colorScheme.content.brandSecondary) {
append("brand secondary text")
}
}

Return

The constructed annotated heading text.

Parameters

builder

Lambda with receiver for building the annotated string.