Circular

fun Circular(value: Float, content: CircularMeterContent, modifier: Modifier = Modifier, range: ClosedFloatingPointRange<Float> = MeterDefaults.Range, intent: MeterIntent = MeterDefaults.Intent, size: CircleMeterSize = MeterDefaults.Size, suffix: String? = null)(source)

A circular meter displaying progress with content inside the ring.

Meter Circular

Parameters

value

Current value within range.

content

Content displayed inside the ring.

modifier

Modifier applied to the meter.

range

The value range (e.g. 0f..100f for percentage, 0f..200f for euros).

intent

Color intent for the indicator and track.

size

Size of the meter (Medium, Large, or XLarge).

suffix

Appended to the TalkBack state announcement, suppressing the default "xx percent" fallback. For example " euros" makes TalkBack announce "120 euros" for a Value content with formatValue = { "${it.toInt()}" } and value = 120f. When null the default percentage announcement is used.