buildOudsAnnotatedBulletListLabel
fun buildOudsAnnotatedBulletListLabel(builder: OudsAnnotatedBulletListLabel.Builder.() -> Unit): OudsAnnotatedBulletListLabel
Creates an OudsAnnotatedBulletListLabel using a builder DSL.
Example:
val label = buildOudsAnnotatedBulletListLabel {
append("Product details available on our ")
withLink(OudsLinkAnnotation.Url("https://example.com/products")) {
append("website")
}
}Content copied to clipboard
Return
The constructed annotated bullet list label.
Parameters
builder
Lambda with receiver for building the annotated string.