FLUTTER ECOSYSTEM

chill-chinese/stroke-order-animator

Flutter 中的漢字筆順動畫和測驗。

stroke-order-animator 專案封面
Stars
112
Forks
31
最近推送(UTC)
2026年5月4日
專案狀態
未封存
chill-chinese GitHub avatar
GITHUB Organization

chill-chinese ↗

語言DartCMakeC++HTMLShellCJustSwiftKotlinObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 8 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

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.

https://raw.githubusercontent.com/chill-chinese/stroke-order-animator/HEAD/doc/output.gif

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