Custom
data class Custom(val modifier: Modifier = Modifier, val size: ChoiceImageSize = ChoiceImageSize.Small, val alignment: ChoiceContentAlignment = Center, val content: @Composable BoxScope.() -> Unit) : ChoiceLeadingContent(source)
Custom Image leading 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 leading content. Default is ChoiceContentAlignment.Center.
Link copied to clipboard
Composable function to be displayed as leading content.
Link copied to clipboard
Size of the image. Default is ChoiceImageSize.Small.