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!: Tighten typing for callbacks #62

Closed Mr-Pepe closed 10 months ago

Mr-Pepe commented 10 months ago

This is a breaking change.

Callbacks were typed as Function which is too broad. This change tightens the types to void Function(QuizSummary) and void Function(int). Furthermore, the methods for adding callbacks do not accept null anymore.

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