summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamaekers,Aldrik A.N <a.ramaekers@student.fontys.nl>2024-04-21 12:19:51 +0200
committerRamaekers,Aldrik A.N <a.ramaekers@student.fontys.nl>2024-04-21 12:19:51 +0200
commit1a28d691bb60a048e71e8668fb40af8847ec182a (patch)
tree9887d7a7d133368b3c0681b0d8d99fb4ff947b35
parentbaabc390a2f89dc8b35c1c4c120fd4da63879d28 (diff)
-rw-r--r--lib/pages/navigation_page.dart4
-rw-r--r--pubspec.yaml5
2 files changed, 7 insertions, 2 deletions
diff --git a/lib/pages/navigation_page.dart b/lib/pages/navigation_page.dart
index 0f8b454..fd46404 100644
--- a/lib/pages/navigation_page.dart
+++ b/lib/pages/navigation_page.dart
@@ -152,6 +152,7 @@ class _NavigationPageState extends State<NavigationPage> {
splashColor: Colors.blue,
onLongPress: () => _mockStopInComplete(),
child: FloatingActionButton(
+ heroTag: 'xx6',
onPressed: () => _mockStopComplete(),
child: Icon(Icons.check_circle),
),
@@ -160,6 +161,7 @@ class _NavigationPageState extends State<NavigationPage> {
visible:
navigation == null ? false : navigation!.isLookingAround,
child: FloatingActionButton(
+ heroTag: 'xx7',
backgroundColor: Colors.green,
child: const Icon(Icons.center_focus_strong),
onPressed: () => {
@@ -170,11 +172,13 @@ class _NavigationPageState extends State<NavigationPage> {
),
Padding(padding: EdgeInsets.all(5)),
FloatingActionButton(
+ heroTag: 'xx8',
onPressed: () => _zoomOut(),
child: Icon(Icons.zoom_out),
),
Padding(padding: EdgeInsets.all(2)),
FloatingActionButton(
+ heroTag: 'xx9',
onPressed: () => _zoomIn(),
child: Icon(Icons.zoom_in),
),
diff --git a/pubspec.yaml b/pubspec.yaml
index 019eaaa..33fd296 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -39,7 +39,7 @@ dependencies:
carousel_slider: ^4.0.0
uuid: ^3.0.5
event_bus: ^2.0.0
- in_date_utils: ^1.0.3
+ in_date_utils: 1.1.0
local_auth: ^1.1.11
flutter_local_notifications: ^9.5.3+1
path_provider: ^2.0.10
@@ -49,7 +49,7 @@ dependencies:
http: ^0.13.5
auto_orientation: ^2.2.1
wakelock: ^0.6.2
- flutter_osm_plugin: ^0.53.2
+ flutter_osm_plugin: 0.53.2
flutter_map: ^3.1.0
permission_handler: ^10.3.0
flutter_archive: ^5.0.0
@@ -57,6 +57,7 @@ dependencies:
barcode: ^2.2.4
barcode_image: ^2.0.2
screen_brightness: ^0.2.2
+ flutter_osm_interface: 0.3.5
dev_dependencies:
flutter_test: