does someone have the code for a CircularProgressI...
# compose
f
does someone have the code for a CircularProgressInIndicator with rounded edges on the progress bar?
c
I think the simplest thing is to copy the code from source and just replace the stroke with
StrokeCap.Round
on line 231. The component is in the Material package which means it's built on all core UI packages of Compose.
f
thank you both!
@Chris Sinco [G] This worked and was pretty easy 👍 Awesome, thank you very much
2
🙏 1
c
It may be interesting to add a cap shape parameter to it though since it was designed to match the Material spec exactly, but with Material3, things are becoming more round.
f
yes