mateusfccp/pausable_timer
एक डार्ट टाइमर जो रोका, फिर से शुरू किया और रीसेट किया जा सकता है।
- Stars
- 36
- Forks
- 8
- अंतिम पुश (UTC)
- 26 दिस॰ 2025
- प्रोजेक्ट स्थिति
- सक्रिय
भाषाएँ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.