chill-chinese / stroke-order-animator

Stroke order animations and quizzes for Chinese characters in Flutter.
https://chill-chinese.github.io/stroke-order-animator/
BSD 3-Clause "New" or "Revised" License
87 stars 24 forks source link

feat!: Introduce `StrokeOrder` class #58

Closed Mr-Pepe closed 10 months ago

Mr-Pepe commented 10 months ago

Introduces a new StrokeOrder class that can be used to represent a stroke order, instead of passing the strokes as plain JSON into a StrokeOrderAnimationController. This is a breaking change but leads to better encapsulation and a cleaner API, especially in conjunction with the new getStrokeOrder function.

Mr-Pepe commented 10 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

Mr-Pepe commented 10 months ago

Merge activity