elapsed_timer 0.1.0
elapsed_timer: ^0.1.0 copied to clipboard
A package contains ElapsedTimer, which allows easy access to the elapsed time of your timer.
Usage #
final timer = ElapsedTimer(const Duration(seconds: 5), () => print('All done'));
// Somewhere in the code:
final elapsed = timer.elapsed;