UserAvatarParams
data class UserAvatarParams(val user: User, val modifier: Modifier = Modifier, val showIndicator: Boolean = false, val showBorder: Boolean = false, val indicator: AvatarPresenceIndicator? = null)
Parameters for ChatComponentFactory.UserAvatar.
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.
Constructors
Link copied to clipboard
constructor(user: User, modifier: Modifier = Modifier, showIndicator: Boolean = false, showBorder: Boolean = false, indicator: AvatarPresenceIndicator? = null)