summaryrefslogtreecommitdiff
path: root/lib/events
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-04-10 13:56:00 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2023-04-10 13:56:00 +0200
commit06d28253b7a8c63131a7ced8731c7ec2de5f2d83 (patch)
treef33c6ae554733e5d33d0c81b899c80325b9b03c4 /lib/events
parentfcbf592d10199dbac80198dd8c2efb181f95165e (diff)
improve visibility of stops, hold btn to go 1 stop backwards, fix address not showing house addition, fix issue with route updating too many times on tap
Diffstat (limited to 'lib/events')
-rw-r--r--lib/events/NextStopLoadedEvent.dart7
-rw-r--r--lib/events/StopCompletedEvent.dart2
2 files changed, 8 insertions, 1 deletions
diff --git a/lib/events/NextStopLoadedEvent.dart b/lib/events/NextStopLoadedEvent.dart
index c4fd59d..a95e29c 100644
--- a/lib/events/NextStopLoadedEvent.dart
+++ b/lib/events/NextStopLoadedEvent.dart
@@ -1 +1,6 @@
-class NextStopLoadedEvent {}
+import 'package:training_planner/RoutingExample.dart';
+
+class NextStopLoadedEvent {
+ ActiveTask task;
+ NextStopLoadedEvent(this.task);
+}
diff --git a/lib/events/StopCompletedEvent.dart b/lib/events/StopCompletedEvent.dart
index 8aa283b..1729307 100644
--- a/lib/events/StopCompletedEvent.dart
+++ b/lib/events/StopCompletedEvent.dart
@@ -1 +1,3 @@
class StopCompletedEvent {}
+
+class StopIncompletedEvent {}