Custom

data class Custom(val modifier: Modifier = Modifier, val alignment: Alignment.Vertical = Alignment.CenterVertically, val size: ListViewImageSize = ListViewImageSize.Small, val content: @Composable BoxScope.() -> Unit) : ListViewItemImage(source)

Custom (Image) is used to represent a leading visual image in the list view item.

Constructors

Link copied to clipboard
constructor(modifier: Modifier = Modifier, alignment: Alignment.Vertical = Alignment.CenterVertically, size: ListViewImageSize = ListViewImageSize.Small, content: @Composable BoxScope.() -> Unit)

Properties

Link copied to clipboard

The alignment of the image.

Link copied to clipboard

The composable content to be displayed.

Link copied to clipboard

Modifier to be applied to the parent of the image.

Link copied to clipboard

The size of the image.