FLUTTER ECOSYSTEM

mateusfccp/pausable_timer

一个可以暂停、恢复和重置的 Dart 计时器。

可暂停计时器 项目封面
Stars
36
Forks
8
最近推送(UTC)
2025年12月26日
项目状态
未归档
Mateus Felipe C. C. Pinto GitHub avatar
GITHUB User

Mateus Felipe C. C. Pinto ↗

Brazilian, theology bachelor and software developer.

Villa Libertador San Martín, Entre Ríos – Argentina官方网站 ↗
语言DartShell

技术话题

使用的依赖

依赖清单 4 项

原始 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.