textComponent
The builder DSL for TextComponent.
Example usage:
textComponent {
this.color = 0xFF000000 // This corresponds to #000000, which is black.
this.textSizeSp = 12f
this.typeface = Typeface.MONOSPACE
}
Content copied to clipboard