iamthevoid
07/22/2021, 9:07 AMTextField 🙂 ) Why don’t you left any possibility to change strokeCap for CircularProgressIndicator ? I can change strokeWidth [thread], but somewhy i cannot change capiamthevoid
07/22/2021, 9:07 AM@Composable
fun CircularProgressIndicator(
modifier: Modifier = Modifier,
color: Color = MaterialTheme.colors.primary,
strokeWidth: Dp = ProgressIndicatorDefaults.StrokeWidth
) {
val stroke = with(LocalDensity.current) {
Stroke(width = strokeWidth.toPx(), cap = StrokeCap.Square)
}iamthevoid
07/22/2021, 9:08 AMstrokeWidth with stroke: Stroke param or just add strokeCap: StrokeCap = StrokeCap.Square argumentiamthevoid
07/22/2021, 9:13 AMPaul
07/22/2021, 6:11 PMiamthevoid
07/22/2021, 7:00 PM