Image

data class Image(val painter: Painter, val contentDescription: String?, val alignment: ChoiceContentAlignment = Center, val size: ChoiceImageSize = ChoiceImageSize.Small) : ChoiceTrailingContent(source)

Image trailing content for Choice.

Constructors

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

Properties

Link copied to clipboard

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

Link copied to clipboard

Content description for the image.

Link copied to clipboard

Painter for the image.

Link copied to clipboard

Size of the image. Default is ChoiceImageSize.Small.