4/11/7
This commit is contained in:
@@ -838,13 +838,24 @@ class MapPassengerController extends GetxController {
|
||||
title: title,
|
||||
titleStyle: AppStyle.title,
|
||||
middleTextStyle: AppStyle.title,
|
||||
content: IconButton(
|
||||
onPressed: () async {
|
||||
await textToSpeechController.speakText(midTitle);
|
||||
},
|
||||
icon: const Icon(Icons.headphones)),
|
||||
middleText: midTitle,
|
||||
confirm: MyElevatedButton(title: 'Ok'.tr, onPressed: onPressed),
|
||||
content: Column(
|
||||
children: [
|
||||
IconButton(
|
||||
onPressed: () async {
|
||||
await textToSpeechController.speakText(midTitle);
|
||||
},
|
||||
icon: const Icon(Icons.headphones)),
|
||||
Text(
|
||||
midTitle,
|
||||
style: AppStyle.title,
|
||||
)
|
||||
],
|
||||
),
|
||||
confirm: MyElevatedButton(
|
||||
title: 'Ok'.tr,
|
||||
onPressed: onPressed,
|
||||
kolor: AppColor.greenColor,
|
||||
),
|
||||
cancel: MyElevatedButton(
|
||||
title: 'Cancel',
|
||||
onPressed: () {
|
||||
|
||||
Reference in New Issue
Block a user