Avatar

constructor(size: Int, text: String? = null, showInitials: Boolean)

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


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)