StripeImage
fun StripeImage( url: String, placeholder: Painter, imageLoader: StripeImageLoader, contentDescription: String?, modifier: Modifier = Modifier, contentScale: ContentScale = ContentScale.Fit)
Content copied to clipboard
A composable that executes an image request asynchronously using the provided StripeImageLoader and renders the result.
Parameters
url
to be requested and rendered.
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.
imageLoader
The StripeImageLoader that will be used to execute the request.
modifier
Modifier used to adjust the layout algorithm or draw decoration content.
placeholder
A Painter that is displayed while the image is loading.
contentScale
Optional scale parameter used to determine the aspect ratio scaling to be used if the bounds are a different size from the intrinsic size of the painter.