From 1a28d691bb60a048e71e8668fb40af8847ec182a Mon Sep 17 00:00:00 2001 From: "Ramaekers,Aldrik A.N" Date: Sun, 21 Apr 2024 12:19:51 +0200 Subject: fixes --- lib/pages/navigation_page.dart | 4 ++++ pubspec.yaml | 5 +++-- 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 { splashColor: Colors.blue, onLongPress: () => _mockStopInComplete(), child: FloatingActionButton( + heroTag: 'xx6', onPressed: () => _mockStopComplete(), child: Icon(Icons.check_circle), ), @@ -160,6 +161,7 @@ class _NavigationPageState extends State { 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 { ), 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: -- cgit v1.2.3-70-g09d2