mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-18 14:49:15 +00:00
13 lines
230 B
Dart
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();
|
||
|
}
|
||
|
}
|