Jenga Circular Progress
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.
stroke Width
the ring thickness; defaults to JengaCircularProgressDefaults.StrokeWidth.
color
the indicator color; defaults to the brand color.
track Color
the background track color.
Samples
JengaCircularProgress(
progress = 0.6f,
)Content copied to clipboard