Icon

constructor(painter: Painter, contentDescription: String)

Creates an instance of OudsBadge.Icon.

Parameters

painter

Painter of the icon.

contentDescription

The content description associated with this OudsBadge.Icon. This value is ignored if the badge also contains label.


constructor(imageVector: ImageVector, contentDescription: String)

Creates an instance of OudsBadge.Icon.

Parameters

imageVector

Image vector of the icon.

contentDescription

The content description associated with this OudsBadge.Icon. This value is ignored if the badge also contains label.


constructor(bitmap: ImageBitmap, contentDescription: String)

Creates an instance of OudsBadge.Icon.

Parameters

bitmap

Image bitmap of the icon.

contentDescription

The content description associated with this OudsBadge.Icon. This value is ignored if the badge also contains label.