-
public final class AvatarParamsParameters for ChatComponentFactory.Avatar.
-
-
Constructor Summary
Constructors Constructor Description AvatarParams(String imageUrl, Boolean showBorder, Function0<Unit> fallback, Modifier modifier)
-
Method Summary
Modifier and Type Method Description final StringgetImageUrl()final BooleangetShowBorder()final Function0<Unit>getFallback()final ModifiergetModifier()-
-
Constructor Detail
-
AvatarParams
AvatarParams(String imageUrl, Boolean showBorder, Function0<Unit> fallback, Modifier modifier)
- Parameters:
imageUrl- The URL of the image to display.showBorder- Whether to draw a border around the avatar.fallback- The fallback content to display if the image is unavailable.modifier- Modifier for styling.
-
-
Method Detail
-
getImageUrl
final String getImageUrl()
-
getShowBorder
final Boolean getShowBorder()
-
getFallback
final Function0<Unit> getFallback()
-
getModifier
final Modifier getModifier()
-
-
-
-