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.

Functions

Link copied to clipboard
open override fun Content(modifier: Modifier)

The Jetpack Compose UI for this component content. Subclasses must implement this method to provide content.

fun Content(extraParameters: Nothing)
fun Content(modifier: Modifier, extraParameters: Nothing)

The Jetpack Compose UI for this component content.