hom
This commit is contained in:
@@ -81,17 +81,16 @@ class EgyptCardAI extends StatelessWidget {
|
||||
: const SizedBox(),
|
||||
Row(
|
||||
children: [
|
||||
controller.isEgypt
|
||||
? MyElevatedButton(
|
||||
title: 'For Egypt'.tr,
|
||||
onPressed: () {
|
||||
controller.changeNationality();
|
||||
})
|
||||
: MyElevatedButton(
|
||||
title: 'Non Egypt'.tr,
|
||||
onPressed: () {
|
||||
controller.changeNationality();
|
||||
}),
|
||||
MyElevatedButton(
|
||||
kolor: controller.isEgypt
|
||||
? AppColor.greenColor
|
||||
: AppColor.redColor,
|
||||
title: controller.isEgypt
|
||||
? 'For Egypt'.tr
|
||||
: 'Non Egypt'.tr,
|
||||
onPressed: () {
|
||||
controller.changeNationality();
|
||||
})
|
||||
],
|
||||
)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user