CircularProgressIndicator

fun CircularProgressIndicator(modifier: Modifier = Modifier, color: Color = MaterialTheme.colorScheme.primary, strokeWidth: Dp = 6.dp, trackColor: Color = Color.Transparent, strokeCap: StrokeCap = StrokeCap.Round)

Represents a circular progress indicator.

Since

1.0.0-beta.1

Parameters

modifier

The modifier to be applied to the view.

color

The color of the indicator. Defaults to MaterialTheme.colorScheme.primary.

strokeWidth

The width of the stroke. Defaults to 6.dp.

trackColor

The color of the track. Defaults to Color.Transparent.

strokeCap

The cap of the stroke. Defaults to StrokeCap.Round.