JengaCircularProgress

fun JengaCircularProgress(progress: Float, modifier: Modifier = Modifier, size: Dp = JengaTheme.components.circularProgress?.size ?: JengaCircularProgressDefaults.Size, strokeWidth: Dp = JengaTheme.components.circularProgress?.strokeWidth ?: JengaCircularProgressDefaults.StrokeWidth, color: Color = JengaCircularProgressDefaults.color, trackColor: Color = JengaCircularProgressDefaults.trackColor)(source)

A determinate circular progress ring.

Parameters

progress

the progress in 0f..1f (coerced into range). Sweeps clockwise from 12 o'clock.

modifier

the Modifier for this indicator.

size

the ring diameter; defaults to JengaCircularProgressDefaults.Size.

strokeWidth

the ring thickness; defaults to JengaCircularProgressDefaults.StrokeWidth.

color

the indicator color; defaults to the brand color.

trackColor

the background track color.

Samples

JengaCircularProgress(
    progress = 0.6f,
)