Image
data class Image(val painter: Painter, val contentDescription: String?, val alignment: ChoiceContentAlignment = Center, val size: ChoiceImageSize = ChoiceImageSize.Small) : ChoiceLeadingContent(source)
Image leading 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 leading content. Default is ChoiceContentAlignment.Center.
Link copied to clipboard
Content description for the image.
Link copied to clipboard
Size of the image. Default is ChoiceImageSize.Small.