text

fun text(value: String, block: TextScope.() -> Unit = {})

Appends a text node.

Parameters

value

the string to render; line breaks (\n) split into hard lines.

block

configures style overrides on top of the inherited textStyle.