This commit is contained in:
2022-11-20 11:02:42 +02:00
parent 58212618cb
commit ad2489006a
4 changed files with 323 additions and 48 deletions
+17
View File
@@ -0,0 +1,17 @@
import "package:test/test.dart";
import 'notifications.dart' as Notification;
Future<void> water() async {
Notification.addNotification("Water Reminder",
"You haven't drink water in a long time. You should drink some");
}
Future<void> instagram() async {
Notification.addNotification("Instagram Warning",
"Hey! You have been spending quite some time on Instagram. Maybe you should take a break");
}
Future<void> sleep() async {
Notification.addNotification(
"Sleep Reminder", "Hey! It's quite late. Maybe you should go to sleep");
}