Package 

Class InitialsAvatarKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit InitialsAvatar(String initials, Modifier modifier, Shape shape, TextStyle textStyle, DpOffset avatarOffset, Function0<Unit> onClick) Represents a special avatar case when we need to show the initials instead of an image.
      • Methods inherited from class java.lang.Object

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

      • InitialsAvatar

        @Composable() final static Unit InitialsAvatar(String initials, Modifier modifier, Shape shape, TextStyle textStyle, DpOffset avatarOffset, Function0<Unit> onClick)

        Represents a special avatar case when we need to show the initials instead of an image. Usually happens when there are no images to show in the avatar.

        Parameters:
        initials - The initials to show.
        modifier - Modifier for styling.
        shape - The shape of the avatar.
        textStyle - The TextStyle that will be used for the initials.
        avatarOffset - The initials offset to apply to the avatar.
        onClick - The handler when the user clicks on the avatar.