TextAreaViewModel

data class TextAreaViewModel(text: StringResolver?, icon: DrawableResolver?)

ViewModel used to populate primaryTextArea, secondaryTextArea and tertiaryTextArea.

Constructors

Link copied to clipboard
fun TextAreaViewModel(text: StringResolver? = null, icon: DrawableResolver? = null)

Properties

Link copied to clipboard
val icon: DrawableResolver? = null

The icon next to the text.

Link copied to clipboard
val text: StringResolver? = null

The text of the text area.