setText

fun setText(text: String? = null)

Sets the text used to generate the fallback initials and color.

It's only used to generate the color if property@Avatar:show-initials is FALSE.

Parameters

text

the text used to get the initials and color