stop_watch_timer
3.2.2, released 2 years ago by neverjp.com
Simple count-up and countdown timer package for stopwatch applications.
WASM-ready
What it does
Provides a stopwatch timer with support for count up and count down modes, lap times, preset durations, and formatted time displays via streams or callbacks.
AI-written summary of version 3.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to build a stopwatch or countdown timer in your Flutter app.
- You want easy streaming of raw time, minute time, second time, and lap records.
Skip it when
- You need a background alarm or scheduling plugin that persists when the app is terminated.
Strengths
- Supports both count-up and count-down modes.
- Provides streams and callbacks for raw time, lap records, and intervals.
- Built-in formatting helper for time strings.
Weaknesses
- Requires manual disposal of the timer instance to avoid memory leaks.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
not documented
final _stopWatchTimer = StopWatchTimer();
@override
void dispose() async {
super.dispose();
await _stopWatchTimer.dispose();
}
// Start timer
_stopWatchTimer.onStartTimer();Alternatives
Packages that do the same job and could replace stop_watch_timer.
- flutter_flavorizr
A utility to easily create and configure application flavors in Flutter.
86Compare - stream_duration
A Dart package for countdown, countup, and infinite countup streams.
48Compare
Works with
Packages commonly used together with stop_watch_timer: ones it builds on, ones built on it, and its own family.