Avatar


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public Avatar (int size, string? text, bool show_initials)

Creates a new `AdwAvatar`.

Parameters:

size

The size of the avatar

text

the text used to get the initials and color

show_initials

whether to use initials instead of an icon as fallback

Returns:

the newly created `AdwAvatar`