Expand description
Progress indicators following Jetpack Compose’s
androidx.compose.material3.CircularProgressIndicator and
LinearProgressIndicator (indeterminate variants).
The circular indicator draws an arc that continuously sweeps around a
circle: the arc rotates at a constant speed while its sweep angle grows
and shrinks, driven by rememberInfiniteTransition. The arc itself is
rendered as a filled annular sector via VectorPath (there is no stroke
primitive in the draw pipeline).
Constants§
- CIRCULAR_
INDICATOR_ DIAMETER - Default diameter of
CircularProgressIndicatorin dp. - CIRCULAR_
INDICATOR_ STROKE_ WIDTH - Default stroke width of
CircularProgressIndicatorin dp. - LINEAR_
INDICATOR_ HEIGHT - Default height of
LinearProgressIndicatorin dp. - LINEAR_
INDICATOR_ WIDTH - Default size of
LinearProgressIndicatorin dp. - PROGRESS_
INDICATOR_ COLOR - Default color for progress indicators (Material blue).
Functions§
- Circular
Progress Indicator - An indeterminate circular progress indicator (spinner).
- Linear
Progress Indicator - An indeterminate linear progress indicator.