diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-04-10 21:11:29 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-04-10 21:11:29 +0200 |
| commit | d35e4014e16bfdf2e2fc2bde397c385fc53e498c (patch) | |
| tree | 8880a668547b36821ac1d809f61c4dc89e873b99 /lib/events | |
| parent | c9dfd2e261c938c42bfa9527fa2786e8d3cdeb79 (diff) | |
refactor
Diffstat (limited to 'lib/events')
| -rw-r--r-- | lib/events/NextStopLoadedEvent.dart | 2 | ||||
| -rw-r--r-- | lib/events/StopCompletedEvent.dart | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/lib/events/NextStopLoadedEvent.dart b/lib/events/NextStopLoadedEvent.dart index a95e29c..8cc8897 100644 --- a/lib/events/NextStopLoadedEvent.dart +++ b/lib/events/NextStopLoadedEvent.dart @@ -1,4 +1,4 @@ -import 'package:training_planner/RoutingExample.dart'; +import 'package:training_planner/navigation/baseNavigation.dart'; class NextStopLoadedEvent { ActiveTask task; diff --git a/lib/events/StopCompletedEvent.dart b/lib/events/StopCompletedEvent.dart index 1729307..fc70bf4 100644 --- a/lib/events/StopCompletedEvent.dart +++ b/lib/events/StopCompletedEvent.dart @@ -1,3 +1,15 @@ +import 'package:training_planner/navigation/baseNavigation.dart'; + class StopCompletedEvent {} class StopIncompletedEvent {} + +class ChangeZoomEvent { + double zoom; + ChangeZoomEvent(this.zoom); +} + +class FlyToEvent { + DHLCoordinates coords; + FlyToEvent(this.coords); +} |
