Circular Progress Indicator
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.
stroke Width
The width of the stroke. Defaults to 6.dp
.
track Color
The color of the track. Defaults to Color.Transparent.
stroke Cap
The cap of the stroke. Defaults to StrokeCap.Round.