Image
data class Image(val painter: Painter, val contentDescription: String?, val contentScale: ContentScale = ContentScale.Crop, val aspectRatio: SkapaAspectRatio = SkapaAspectRatio.Ratio1by1) : CompactMediaContainer(source)
Image content for the media container.
Constructors
Link copied to clipboard
constructor(painter: Painter, contentDescription: String?, contentScale: ContentScale = ContentScale.Crop, aspectRatio: SkapaAspectRatio = SkapaAspectRatio.Ratio1by1)
Properties
Link copied to clipboard
The aspect ration of the image.
Link copied to clipboard
The contentDescription for the image.
Link copied to clipboard
The content scaling to be applied to the image.