Avatar
fun Avatar(profile: Profile, size: Dp, modifier: Modifier = Modifier, avatarQueryOptions: AvatarQueryOptions? = null)
Avatar is a composable that displays a user's avatar.
Parameters
profile
The user's profile information
size
The size of the avatar
modifier
Composable modifier
avatarQueryOptions
Options to customize the avatar query
fun Avatar(state: ComponentState<Profile>, size: Dp, modifier: Modifier = Modifier, avatarQueryOptions: AvatarQueryOptions? = null)
Avatar is a composable that displays a user's avatar.
Parameters
state
size
The size of the avatar
modifier
Composable modifier
avatarQueryOptions
Options to customize the avatar query
fun Avatar(profile: Profile, size: Dp, modifier: Modifier = Modifier, avatarQueryOptions: AvatarQueryOptions? = null)
Deprecated
This class is deprecated and will be removed in a future release.
Replace with
com.gravatar.ui.components.atomic.Avatar
Content copied to clipboard
Avatar is a composable that displays a user's avatar.
Parameters
profile
The user's profile information
size
The size of the avatar
modifier
Composable modifier
avatarQueryOptions
Options to customize the avatar query
fun Avatar(state: ComponentState<Profile>, size: Dp, modifier: Modifier = Modifier, avatarQueryOptions: AvatarQueryOptions? = null)
Deprecated
This class is deprecated and will be removed in a future release.
Replace with
com.gravatar.ui.components.atomic.Avatar
Content copied to clipboard
Avatar is a composable that displays a user's avatar.
Parameters
state
size
The size of the avatar
modifier
Composable modifier
avatarQueryOptions
Options to customize the avatar query