BadgeTileSchema
data class BadgeTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val content: String? = null) : TileSchema
Renders a Material 3 Badge. When content is non-null it is rendered as the badge's text label and the badge takes its larger, pill-shaped form; when null the badge is the small empty dot.
Triggers dispatched: none. The badge emits no trigger and is not clickable, so any events declared on it are never fired.
Notes: this tile is a standalone badge, not a BadgedBox — it does not attach itself to a sibling. Position it yourself, e.g. inside a Box aligned over the tile it decorates.
Constructors
Link copied to clipboard
constructor(id: String, events: SerializableImmutableList<EventSchema>?, style: StyleSchema, searchableTerms: SerializableImmutableList<String>?, visibility: TileSchema.Visibility, content: String? = null)
Properties
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "searchableTerms")
Link copied to clipboard
Link copied to clipboard