UserAvatarParams

constructor(user: User, modifier: Modifier = Modifier, showIndicator: Boolean = false, showBorder: Boolean = false, indicator: AvatarPresenceIndicator? = null)

Parameters

user

The user whose avatar will be displayed.

modifier

Modifier for styling.

showIndicator

Whether to overlay an online status indicator.

showBorder

Whether to draw a border around the avatar.

indicator

The presence indicator to overlay on the avatar. When non-null it takes precedence over showIndicator. When null (the default), showIndicator is used for backward compatibility.