ShoppableImageBackgroundParams
constructor(painter: Painter, contentDescription: String?, aspectRatio: SkapaAspectRatio = SkapaAspectRatio.Portrait, onClick: () -> Unit)
Parameters
painter
Painter used to draw the image.
contentDescription
text used by accessibility services to describe what this image represents. This should always be provided unless this image is used for decorative purposes, and does not represent a meaningful action that a user can take. This text should be localized, such as by using androidx.compose.ui.res.stringResource or similar.
aspectRatio
Aspect ratios provided by Skapa.
onClick
Use it to toggle dots/tags visibility or use for custom action.