flutter_smart_timer 1.0.3 copy "flutter_smart_timer: ^1.0.3" to clipboard
flutter_smart_timer: ^1.0.3 copied to clipboard

Timer for best setup and use

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.