This commit is contained in:
Hamza Aleghwairyeen
2024-04-03 00:05:31 +03:00
parent 02b27110df
commit ae41f1bb24
7 changed files with 48 additions and 26 deletions

View File

@@ -62,8 +62,7 @@ GetBuilder<MapDriverController> driverEndRideBar() {
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
const Icon(Icons.timer),
Text(mapDriverController.rideTimerFromBegin
.toStringAsFixed(0)),
Text(mapDriverController.stringRemainingTimeRideBegin1),
const Icon(Icons.location_on),
Text(
'${mapDriverController.recentDistanceToDash.toStringAsFixed(0)} ${'KM'.tr}'),

View File

@@ -30,7 +30,7 @@ class GoogleDriverMap extends StatelessWidget {
),
onCameraMoveStarted: () {},
onCameraMove: (position) {
// locationController.myLocation = position.target;
locationController.myLocation = position.target;
print(position);
},
minMaxZoomPreference: const MinMaxZoomPreference(6, 18),