Icon

class Icon(val painter: Painter?) : ChipVariant

This variant includes an icon next to its text label to provide a visual cue that helps users quickly understand its purpose or category.

Note: if you want a chip without any content next to the text, use ChipVariant.Icon with a null Painter.

Parameters

painter

The icon to be displayed next to the text label.

Constructors

Link copied to clipboard
constructor(painter: Painter?)

Properties

Link copied to clipboard