MeasureUnconstrainedViewWidth

fun MeasureUnconstrainedViewWidth(value: String, style: TextStyle, content: @Composable (measuredWidth: Dp) -> Unit)(source)

Measures a component width without displays to then use the result, e.g QuantityStepper, Carousel counter badge