Avatar
constructor(size: <Error class: unknown class>, text: String? = null, showInitials: Boolean)(source)
Creates a new AdwAvatar
.
Return
the newly created AdwAvatar
Parameters
size
The size of the avatar
text
the text used to get the initials and color
showInitials
whether to use initials instead of an icon as fallback