PlainText

data class PlainText(val value: String) : Text
val text: Text = Text.PlainText("Text here")
// or short version
val text: Text = Text("Text here")

Constructors

Link copied to clipboard
fun PlainText(value: String)

Properties

Link copied to clipboard
val value: String