Composable Function

RemoteAvatarImage

A remote composable that displays a RemoteBitmap styled as an avatar.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

RemoteAvatarImage

Android
@Composable
@RemoteComposable
public fun RemoteAvatarImage(
    avatar: RemoteBitmap,
    contentDescription: RemoteString?,
    modifier: RemoteModifier = RemoteModifier,
    contentScale: ContentScale = ContentScale.FillBounds,
)

A remote composable that displays a RemoteBitmap styled as an avatar.

Parameters

avatar The RemoteBitmap to be displayed.
contentDescription A text description for accessibility.
modifier The RemoteModifier to be applied to this composable.
contentScale The ContentScale to be applied to the image.