Remove Print calls

main
Kai Mannweiler 2023-03-03 18:27:49 +01:00
parent 4279e7961c
commit f7bbac7adc
1 changed files with 0 additions and 2 deletions

View File

@ -8,7 +8,6 @@ class TimerProvider extends ChangeNotifier {
int get elapsedSeconds => _timer != null ? _timer!.tick : 0; int get elapsedSeconds => _timer != null ? _timer!.tick : 0;
void startTimer(Duration duration) { void startTimer(Duration duration) {
print('started');
started = true; started = true;
_timer = Timer.periodic(const Duration(seconds: 1), ((timer) { _timer = Timer.periodic(const Duration(seconds: 1), ((timer) {
if (timer.tick >= duration.inSeconds) { if (timer.tick >= duration.inSeconds) {
@ -27,7 +26,6 @@ class TimerProvider extends ChangeNotifier {
@override @override
void dispose() { void dispose() {
print('disposed');
started = false; started = false;
_timer?.cancel(); _timer?.cancel();
_timer = null; _timer = null;