Text

fun Text(): Text

得到一个空的 Text.

See also


inline fun Text(block: () -> String): Text

构建一个 Text.

val text: Text = Text { "Hello" }