Icon

constructor(painter: Painter, contentDescription: String, size: OudsListItemIconSize = OudsListItemDefaults.IconSize, tinted: Boolean = true)

Creates an instance of OudsListItemTrailing.Icon.

Parameters

painter

Painter of the icon.

contentDescription

The content description associated with this OudsListItemTrailing.Icon.

size

Size of the icon among OudsListItemIconSize values.

tinted

Controls whether the icon should be tinted with the theme color. Defaults to true. When set to false, the icon is displayed with its original colors (e.g., for multicolor icons). Note that untinted icons must ensure sufficient contrast with the background for accessibility reasons.


constructor(imageVector: ImageVector, contentDescription: String, size: OudsListItemIconSize = OudsListItemDefaults.IconSize, tinted: Boolean = true)

Creates an instance of OudsListItemTrailing.Icon.

Parameters

imageVector

Image vector of the icon.

contentDescription

The content description associated with this OudsListItemTrailing.Icon.

size

Size of the icon among OudsListItemIconSize values.

tinted

Controls whether the icon should be tinted with the theme color. Defaults to true. When set to false, the icon is displayed with its original colors (e.g., for multicolor icons). Note that untinted icons must ensure sufficient contrast with the background for accessibility reasons.


constructor(bitmap: ImageBitmap, contentDescription: String, size: OudsListItemIconSize = OudsListItemDefaults.IconSize, tinted: Boolean = true)

Creates an instance of OudsListItemTrailing.Icon.

Parameters

bitmap

Image bitmap of the icon.

contentDescription

The content description associated with this OudsListItemTrailing.Icon.

size

Size of the icon among OudsListItemIconSize values.

tinted

Controls whether the icon should be tinted with the theme color. Defaults to true. When set to false, the icon is displayed with its original colors (e.g., for multicolor icons). Note that untinted icons must ensure sufficient contrast with the background for accessibility reasons.