I have the following design in Figma that I want to implement in Flutter. The design is a Zig-Zag pattern that represents a progress indicator, where it moves towards the end. When a step is completed, a custom checkmark will appear on it, marking it as done. Here is the design:
I tried using the Paint
class in Flutter, but it didn’t give me the desired result.
2
Answers
I haven’t really put much work into this, it’s far from perfrect, but I hope that this helps. And warning, this code isn’t ‘clean’ and ‘efficient’ yet:
Thus, the result:
Tweak it a little bit and you’ll achieve the desired UI. Cheers.
I have tried zig-zag design with my logic check if that will meet your requirement