Icon

data class Icon(@DrawableRes val resource: Int, val contentDescription: String? = null, val alignment: ChoiceContentAlignment = Center) : ChoiceLeadingContent

Icon leading content for Choice.

Constructors

Link copied to clipboard
constructor(@DrawableRes resource: Int, contentDescription: String? = null, alignment: ChoiceContentAlignment = Center)

Properties

Link copied to clipboard

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

Link copied to clipboard

Content description for the icon.

Link copied to clipboard

Drawable resource for the icon.