ClusterCardBadge

constructor(text: String, icon: Painter? = null, appearance: BadgeAppearance = BadgeAppearance.Standard, variant: BadgeVariant = BadgeVariant.Primary)

Parameters

text

The text to be displayed in the badge.

icon

An optional icon to be displayed in the badge. Defaults to null.

appearance

An optional BadgeAppearance of the badge. Defaults to BadgeAppearance.Standard.

variant

An optional BadgeVariant of the badge. Defaults to BadgeVariant.Primary.