可暫停計時器
一個可以暫停、恢復和重設的 Dart 計時器。
- 星標
- 36
- 分支
- 8
- 最近推送(UTC)
- 2025年12月26日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
pausable_timer
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.
語言DartShell
分類
使用的依賴
依賴清單 4 項
- clock
^1.1.0 - fake_async開發依賴
^1.3.1 - lints開發依賴
^3.0.0 - test開發依賴
>=1.24.0
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗