mateusfccp/pausable_timer
一時停止、再開、リセットが可能な Dart タイマー。
- Stars
- 36
- Forks
- 8
- 最終プッシュ(UTC)
- 2025/12/26
- プロジェクト状態
- 公開中
言語DartShell
技術トピック
使用している依存関係
依存関係一覧 4 件
- clock
^1.1.0 - fake_async開発用
^1.3.1 - lints開発用
^3.0.0 - test開発用
>=1.24.0
元の README
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
README を開く / 閉じる
pausable_timer
CI Pub Score Latest Dart version pub package pub points likes
A Dart timer that can be paused, resumed and reset.
PausableTimer aims to be as similar and compatible as possible with Dart's
Timer, while providing extra functionality.
How to use it
PausableTimer should work exactly the same as a regular Timer, but can be
paused, resumed and restarted with the respective methods (.pause, .start
and .resume).
There are also additional getters to check if the timer is active, paused, expired or cancelled.
More detailed examples can be found in the example folder.