This commit is contained in:
Hamza-Ayed
2024-01-25 02:10:41 +03:00
parent cbd6b45245
commit 9a58d59f4e
9 changed files with 153 additions and 47 deletions

View File

@@ -36,7 +36,7 @@ class HistoryDetailsPage extends StatelessWidget {
String mapUrl =
'https://www.google.com/maps/dir/${res['start_location']}/${res['end_location']}/';
print(mapUrl);
launchUrl1(mapUrl);
showInBrowser(mapUrl);
},
child: Text(
'Trip on Map Click here'.tr,

View File

@@ -42,7 +42,7 @@ class OrderRequestPage extends StatelessWidget {
String mapUrl =
'https://www.google.com/maps/dir/${myList[0]}/${myList[1]}/';
print(mapUrl);
launchUrl1(mapUrl);
showInBrowser(mapUrl);
},
icon: const Icon(Icons.map),
label: myList[20].toString() == 'haveSteps'