Image

data class Image(val painter: Painter, val contentDescription: String?, val alignment: ChoiceContentAlignment = ChoiceContentAlignment.Center) : ChoiceLeadingContent

Image leading content for Choice.

Constructors

Link copied to clipboard
constructor(painter: Painter, contentDescription: String?, alignment: ChoiceContentAlignment = ChoiceContentAlignment.Center)

Properties

Link copied to clipboard

Alignment of the leading content. Default is ChoiceContentAlignment.Center.

Link copied to clipboard

Content description for the image.

Link copied to clipboard

Painter for the image.