Search packages, repositories and app categories

stroke_order_animator cover
Package detailsv3.3.1

stroke_order_animator

Stroke order animations and practice quizzes for Chinese characters.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
1.3K
Likes
44
Pub points
125

Install package

flutter pub add stroke_order_animator

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that provides stroke order animations and interactive practice quizzes for learning Chinese characters. It visually demonstrates the correct sequence of strokes for each character, helping learners understand and memorize writing patterns. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, making it accessible across devices. With smooth animations and educational quizzes, it enhances language learning experiences by combining visual feedback with active recall.

Use cases

  • Learning Chinese character writing
  • Interactive language study apps
  • Educational games for beginners
  • Classroom teaching tools
  • Self-paced language practice

Key features

  • Animated stroke order visualization
  • Practice quizzes with feedback
  • Cross-platform compatibility
  • Customizable animation speed
  • Support for traditional and simplified characters
  • Real-time user interaction

Suitable for

  • Language learners
  • Chinese language educators
  • App developers creating educational tools
  • Students practicing handwriting
  • Teachers integrating digital resources

Considerations

  • Requires knowledge of Chinese character structure
  • May need additional UI components for full app integration
  • Performance may vary on low-end devices
  • Limited to Chinese characters (not other scripts)
  • Depends on accurate stroke data for characters

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Stroke order animator

Pub codecov

This package implements stroke order animations and quizzes of Chinese characters based on Make me a Hanzi, available under the ARPHIC public license.

Try the web version or see it in action in the Chill Chinese App.

Read the docs.

Check out the example.

Contributing

Set up a developer environment

Install

All available tasks can be displayed by running just.

The following tasks are a prerequisite for all other tasks. They are not added as dependencies to all other tasks because they take too long to execute and don't need to be executed often.

Install dependencies:

just get-dependencies

Run CI pipeline

Run the following commands to make sure that everything works as expected:

just lint
just test

Generate coverage report

Run the following to generate an HTML coverage report combining unit test and integration test coverage:

genhtml 'coverage/*_lcov.info' -o coverage/html --branch-coverage --ignore-errors inconsistent --ignore-errors count,count

Then open the resulting file in a browser, for example:

firefox coverage/html/index.html

Generate code

Code generation is used for test mocks. Generate code whenever you change the interface of a class that is mocked somewhere:

just generate-code

Generated code must be checked into source control so that it doesn't have to be rebuilt during every CI run.

Cut a release

  • Set the local main branch to the desired commit
  • Push the main branch!
  • Run dart run tool/generate_changelog.dart <lastVersion> and prune output as desired
  • Run gh release create or create a new release on GitHub
  • Copy the changelog

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package

No data available yet.