TextStyleModifiers

data class TextStyleModifiers(val bold: (<Error class: unknown class>) -> <Error class: unknown class>, val italics: (<Error class: unknown class>) -> <Error class: unknown class>, val strikethrough: (<Error class: unknown class>) -> <Error class: unknown class>, val link: (<Error class: unknown class>) -> <Error class: unknown class>, val code: (<Error class: unknown class>) -> <Error class: unknown class>)(source)

Provides functions to modify a TextStyle, producing a style for a particular text format. It is recommended to modify the provided TextStyle, which may already be stylized for other formatting.

Constructors

Link copied to clipboard
constructor(bold: (<Error class: unknown class>) -> <Error class: unknown class>, italics: (<Error class: unknown class>) -> <Error class: unknown class>, strikethrough: (<Error class: unknown class>) -> <Error class: unknown class>, link: (<Error class: unknown class>) -> <Error class: unknown class>, code: (<Error class: unknown class>) -> <Error class: unknown class>)

Properties

Link copied to clipboard
val bold: (<Error class: unknown class>) -> <Error class: unknown class>

A function that produces a TextStyle for bold text.

Link copied to clipboard
val code: (<Error class: unknown class>) -> <Error class: unknown class>

A function that produces a TextStyle for inline code text.

Link copied to clipboard
val italics: (<Error class: unknown class>) -> <Error class: unknown class>

A function that produces a TextStyle for italicized text.

Link copied to clipboard
val link: (<Error class: unknown class>) -> <Error class: unknown class>

A function that produces a TextStyle for clickable link text.

Link copied to clipboard
val strikethrough: (<Error class: unknown class>) -> <Error class: unknown class>

A function that produces a TextStyle for strikethrough text.