Image
data class Image(val painter: Painter, val contentDescription: String?, val aspectRatio: SkapaAspectRatio = SkapaAspectRatio.Ratio16by9) : MediaContainer
The Image container for the Card.
Parameters
painter
The painter to be used for the image. Of type Painter.
contentDescription
The content description for the image. Of type String.
aspectRatio
The aspect ratio of the image. Of type SkapaAspectRatio.
Constructors
Link copied to clipboard
constructor(painter: Painter, contentDescription: String?, aspectRatio: SkapaAspectRatio = SkapaAspectRatio.Ratio16by9)