Badge
Spark Badge.
A badge is a visual indicator for numeric values such as tallies and scores.
Parameters
to use inside the label
the Modifier to be applied to this badge
style of the badge which defines its size
The BadgeIntent color to use
defines the max count starting from which + is displayed
whether a border should be drawn
Spark Badge.
A badge is a visual indicator for numeric values such as tallies and scores.
Parameters
style of the badge which defines its size
the Modifier to be applied to this badge
The BadgeIntent color to use
whether a border should be drawn
text used by accessibility services to describe what this icon represents. This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take. This text should be localized, such as by using androidx.compose.ui.res.stringResource or similar
optional content to be rendered inside this badge