diff options
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); +} |
