How to draw a custom shape in flutter?

Posted by Jessica Taylor | Updated on

If you want to draw a custom shape in flutter? A solution is to implement a custom painter (CustomPainter) then use the arcTo method to draw each part of the wheel.

Here is full working example:

Output will look like:

draw a custom shape in flutter


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers