Stylish Circular Progress Indicator
A circular progress indicator styled with the Stylish theme. Wraps CircularProgressIndicator with theme-aware defaults for color, track color, and stroke cap.
When progress is null (default) the indicator animates indeterminately; when non-null, the determinate variant is shown with the arc filled up to the reported progress.
Parameters
Modifier applied to the indicator.
Color of the progress arc. Defaults to MaterialTheme.colorScheme.primary.
Color of the background track. Defaults to MaterialTheme.colorScheme.surfaceVariant.
Thickness of the arc stroke. Defaults to 4.dp.
Cap style for the arc endpoints. Defaults to StrokeCap.Round.
Current progress in 0f..1f, or null (default) for an indeterminate indicator. Values outside the range are coerced into it by Material.