buildVerticalText

Functions summary

Spanned

Composable-context convenience for buildVerticalText.

Functions

buildVerticalText

@Composable
fun buildVerticalText(builder: VerticalTextScope.() -> Unit): Spanned

Composable-context convenience for buildVerticalText. Uses LocalDensity to resolve sp-based TextUnit values. For non-composable callers or nested builds, use the overload that takes an explicit Density.

Parameters
builder: VerticalTextScope.() -> Unit

the DSL block describing the content.