Image

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

Creates an instance of OudsSmallListItemTrailing.Image.

Parameters

painter

Painter of the image.

contentDescription

The content description associated with this image.

ratio

Ratio of the image among OudsListItemImageRatio values.

contentScale

Scale parameter used to determine the aspect ratio scaling to be used if the bounds are a different size from the intrinsic size of the painter.

roundedCorner

Controls whether the image is displayed with square or rounded corners. False by default.


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

Creates an instance of OudsSmallListItemTrailing.Image.

Parameters

imageVector

Image vector of the image.

contentDescription

The content description associated with this image.

ratio

Ratio of the image among OudsListItemImageRatio values.

contentScale

Scale parameter used to determine the aspect ratio scaling to be used if the bounds are a different size from the intrinsic size of the imageVector.

roundedCorner

Controls whether the image is displayed with square or rounded corners. False by default.


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

Creates an instance of OudsSmallListItemTrailing.Image.

Parameters

bitmap

Image bitmap of the image.

contentDescription

The content description associated with this image.

ratio

Ratio of the image among OudsListItemImageRatio values.

contentScale

Scale parameter used to determine the aspect ratio scaling to be used if the bounds are a different size from the intrinsic size of the bitmap.

roundedCorner

Controls whether the image is displayed with square or rounded corners. False by default.