Package 

Class UserAvatarBackgroundKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit UserAvatarBackground(Modifier modifier, String userImage, String userName, Shape shape, Dp avatarSize, ContentScale imageScale, String imageDescription, IntSize imageRequestSize, @DrawableRes() Integer loadingPlaceholder, @DrawableRes() Integer previewModePlaceholder, TextStyle textStyle, DpOffset textOffset) Component that displays a user avatar and a background that reflects the avatar.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • UserAvatarBackground

        @Composable() final static Unit UserAvatarBackground(Modifier modifier, String userImage, String userName, Shape shape, Dp avatarSize, ContentScale imageScale, String imageDescription, IntSize imageRequestSize, @DrawableRes() Integer loadingPlaceholder, @DrawableRes() Integer previewModePlaceholder, TextStyle textStyle, DpOffset textOffset)

        Component that displays a user avatar and a background that reflects the avatar.

        Parameters:
        modifier - Modifier used for styling.
        userImage - The URL of the image to be displayed.
        userName - The name to be used for the initials fallback.
        shape - The shape of the avatar.
        avatarSize - The size of the avatar.
        imageScale - The scale rule used for the image.
        imageDescription - The image content description for accessibility.
        imageRequestSize - The image size to be requested.
        loadingPlaceholder - Placeholder image to be displayed while loading the remote image.
        previewModePlaceholder - Placeholder image to be displayed in Compose previews (IDE).
        textStyle - The TextStyle to be used for the initials text fallback.
        textOffset - Offset to be applied to the initials text.