TextAreaViewModel

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

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.