selfprivacy.org.app/lib/logic/get_it/timer.dart
2021-01-19 13:05:40 +01:00

13 lines
230 B
Dart

import 'package:flutter/material.dart';
class TimerModel extends ChangeNotifier {
DateTime _time = DateTime.now();
DateTime get messages => _time;
void restart() {
_time = DateTime.now();
notifyListeners();
}
}