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,
|
||||
|
||||
Reference in New Issue
Block a user