Avatar

A top app bar action that displays an avatar. The content of the avatar can either be an image or a single letter monogram.

Constructors

Link copied to clipboard
constructor(painter: Painter, contentDescription: String, onClick: () -> Unit?)

Creates an instance of OudsTopAppBarAction.Avatar.

constructor(imageVector: ImageVector, contentDescription: String, onClick: () -> Unit?)

Creates an instance of OudsTopAppBarAction.Avatar.

constructor(bitmap: ImageBitmap, contentDescription: String, onClick: () -> Unit?)

Creates an instance of OudsTopAppBarAction.Avatar.

constructor(monogram: Char, color: Color, backgroundColor: Color, contentDescription: String, onClick: () -> Unit?)

Creates an instance of OudsTopAppBarAction.Avatar.