2/10/1
This commit is contained in:
@@ -90,7 +90,8 @@ GetBuilder<MapPassengerController> leftMainMenuIcons() {
|
||||
borderRadius: BorderRadius.circular(15)),
|
||||
child: IconButton(
|
||||
onPressed: () {
|
||||
textToSpeechController.speakText('''hello this is hamza''');
|
||||
textToSpeechController.speakText(
|
||||
'''hello this is ${box.read(BoxName.name)}''');
|
||||
},
|
||||
icon: const Icon(
|
||||
Icons.voice_chat,
|
||||
|
||||
@@ -72,7 +72,7 @@ class TimerToPassengerFromDriver extends StatelessWidget {
|
||||
// 'rideTimeStart': DateTime.now().toString(),
|
||||
// 'status': 'Applied'
|
||||
// });
|
||||
controller
|
||||
await controller
|
||||
.calculateDistanceBetweenPassengerAndDriverBeforecancelRide();
|
||||
})
|
||||
: const SizedBox()
|
||||
|
||||
Reference in New Issue
Block a user