Custom

data class Custom(val modifier: Modifier = Modifier, val size: ChoiceImageSize = ChoiceImageSize.Small, val alignment: ChoiceContentAlignment = Center, val content: @Composable BoxScope.() -> Unit) : ChoiceTrailingContent(source)

Custom Image trailing content for Choice.

Constructors

Link copied to clipboard
constructor(modifier: Modifier = Modifier, size: ChoiceImageSize = ChoiceImageSize.Small, alignment: ChoiceContentAlignment = Center, content: @Composable BoxScope.() -> Unit)

Properties

Link copied to clipboard

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

Link copied to clipboard

Composable function to be displayed as trailing content.

Link copied to clipboard

Modifier to be applied to the parent of the image.

Link copied to clipboard

Size of the image. Default is ChoiceImageSize.Small.