buildOudsAnnotatedHelperText
fun buildOudsAnnotatedHelperText(builder: OudsAnnotatedHelperText.Builder.() -> Unit): OudsAnnotatedHelperText
Creates an OudsAnnotatedHelperText using a builder DSL.
Example:
val helperText = buildOudsAnnotatedHelperText {
append("Description must be ")
withStrong { append("at least 20 characters") }
append(" long")
}Content copied to clipboard
Return
The constructed annotated helper text.
Parameters
builder
Lambda with receiver for building the annotated string.