mateusfccp/pausable_timer
Um temporizador Dart que pode ser pausado, retomado e reiniciado.
- Stars
- 36
- Forks
- 8
- Último push (UTC)
- 26 de dez. de 2025
- Status do projeto
- Ativo
LinguagensDartShell
Tópicos técnicos
Dependências usadas
Lista de dependências 4 itens
- clock
^1.1.0 - fake_asyncDesenvolvimento
^1.3.1 - lintsDesenvolvimento
^3.0.0 - testDesenvolvimento
>=1.24.0
README original
Texto original em inglês. Visite o GitHub para a versão atual.
Expandir / recolher 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.