Image

An image as a small list item leading content.

Constructors

Link copied to clipboard
constructor(painter: Painter, contentDescription: String, ratio: OudsListItemImageRatio = OudsListItemDefaults.ImageRatio, contentScale: ContentScale = OudsListItemDefaults.ImageContentScale, roundedCorner: Boolean = false)

Creates an instance of OudsSmallListItemLeading.Image.

constructor(imageVector: ImageVector, contentDescription: String, ratio: OudsListItemImageRatio = OudsListItemDefaults.ImageRatio, contentScale: ContentScale = OudsListItemDefaults.ImageContentScale, roundedCorner: Boolean = false)

Creates an instance of OudsSmallListItemLeading.Image.

constructor(bitmap: ImageBitmap, contentDescription: String, ratio: OudsListItemImageRatio = OudsListItemDefaults.ImageRatio, contentScale: ContentScale = OudsListItemDefaults.ImageContentScale, roundedCorner: Boolean = false)

Creates an instance of OudsSmallListItemLeading.Image.

Properties

Link copied to clipboard
open override val ratio: OudsListItemImageRatio