I need to draw a dotted circle with Custom Painter(Flutter) in my school project. How can I draw a dotted circle on Canvas. I only know how to draw solid circle in canvas. Please answer me if you know. Don't skip. Thank you!
I tried and searched on internet and everywhere but I can't find. I hope I will get solutions from StackOverflow.
You said you can paint a filled circle. Painting a dotted circle is very similar. Using a for loop you simply paint a bunch of filled circles that together form the dotted circle. The offset of each individual circle can be determined using basic trigonometry. Code Example: