This commit is contained in:
Hamza Aleghwairyeen
2024-03-28 01:30:12 +03:00
parent 2c279a3c78
commit 508aff9670
3 changed files with 35 additions and 24 deletions

View File

@@ -165,7 +165,9 @@ class GoogleMapPassengerWidget extends StatelessWidget {
// anchor: const Offset(4, 4),
position: carLocation,
icon: controller.carIcon,
rotation: controller.headingList,
rotation: double.parse(controller
.datadriverCarsLocationToPassengerAfterApplied[
'message'][0]['latitude']),
markerId: MarkerId(carLocation.toString())),
for (int i = 1;
i < controller.coordinatesWithoutEmpty.length - 1;