Skip to content

mateusfccp/pausable_timer

Folders and files

NameName
Last commit message
Last commit date
Oct 6, 2020
Feb 24, 2025
Feb 4, 2025
Oct 29, 2023
Oct 29, 2023
Feb 4, 2025
Oct 30, 2023
Oct 29, 2023
Oct 25, 2023
Feb 4, 2025
May 24, 2023
Oct 25, 2023
Feb 4, 2025

Repository files navigation

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 funcionality.

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.