Skip to content

3.0.0

Compare
Choose a tag to compare
@Mr-Pepe Mr-Pepe released this 12 Jan 16:37
· 22 commits to main since this release
3ec3985

What's Changed

Version 3.0.0 included a lot of cleaning, restructuring, and improvements to the CI pipeline. The good news is that the library now supports downloading stroke order data. The bad news is that it comes with a few breaking changes regarding initialization of animation controllers. However, it should be very straightforward to adapt to these changes when following the documentation.

  • All imports are now available when importing package:stroke_order_animator/stroke_order_animator.dart.
  • Added a downloadStrokeOrder function to retrieve stroke order data.
  • Added a StrokeOrder class that holds the information about a character's strokes. StrokeOrderAnimationController now receives a StrokeOrder instance instead of raw JSON.
  • The example app now supports looking up any characters. It retrieves the corresponding stroke order data on demand.
  • The typing for quiz callbacks is now more restrictive, leading to compile-time errors when using wrong callbacks.
  • The API docs received a major overhaul and are now the main source of information instead of the README.

Full Changelog: 2.1.4...3.0.0