pub fn CircularProgressIndicator(
__arg0: Modifier,
__arg1: Color,
__arg2: f32,
) -> NodeIdExpand description
An indeterminate circular progress indicator (spinner).
Follows Jetpack Compose’s CircularProgressIndicator: an arc sweeps
around a circle forever, rotating while its length pulses between
[MIN_SWEEP_DEGREES] and [MAX_SWEEP_DEGREES].
§Arguments
modifier- Modifiers for styling and layout. The indicator applies a default size ofCIRCULAR_INDICATOR_DIAMETERdp which outer size modifiers can override.color- Arc color (seePROGRESS_INDICATOR_COLORfor the default).stroke_width- Arc thickness in dp (seeCIRCULAR_INDICATOR_STROKE_WIDTHfor the default).
§Example
ⓘ
CircularProgressIndicator(
Modifier::empty(),
PROGRESS_INDICATOR_COLOR,
CIRCULAR_INDICATOR_STROKE_WIDTH,
);