BadgedBox

fun BadgedBox(badge: @Composable BoxScope.() -> Unit, modifier: Modifier = Modifier, content: @Composable BoxScope.() -> Unit)

Spark BadgedBox.

A badge represents dynamic information such as a number of pending requests in a navigation bar.

BadgedBox image

Parameters

badge

the badge to be displayed - typically a Badge

modifier

the Modifier to be applied to this BadgedBox

content

the anchor to which this badge will be positioned