SmartTimer in Dart

A flexible and customizable timer implementation in Dart that supports pausing, resuming, and custom intervals. Perfect for games, workout timers, quizzes, and more!

Features

Start a timer that counts seconds.

On each tick (onTick), the current time is printed.

Custom intervals: Notifications are triggered at specified intervals (e.g., 5, 10, 15 seconds).

Pause and resume functionality.

Completion callback (onComplete): Executes when the timer finishes.

Why is it cool?

Flexibility: You can set any intervals and callback functions.

Convenience: Pause and resume make the timer versatile.

Practicality: Useful for games, workout timers, quizzes, and more.