This commit is contained in:
Hamza-Ayed
2024-03-21 02:09:52 +03:00
parent ad062d9ad7
commit 045f7e20f0
46 changed files with 2767 additions and 877 deletions

View File

@@ -43,19 +43,19 @@ class WaletCaptain extends StatelessWidget {
0 &&
double.parse(captainWalletController
.totalPoints) >
-500
-300
? AppColor.yellowColor
: double.parse(captainWalletController
.totalPoints) <
-500
-300
? AppColor.redColor
: AppColor.greenColor,
),
child: InkWell(
onTap: () {
Get.snackbar(
'the 500 points equal 30 JOD'.tr,
'the 500 points equal 30 JOD for you \nSo go and gain your money'
'the 300 points equal 30 JOD'.tr,
'the 300 points equal 30 JOD for you \nSo go and gain your money'
.tr,
backgroundColor: AppColor.greenColor,
snackPosition: SnackPosition.BOTTOM,
@@ -77,7 +77,7 @@ class WaletCaptain extends StatelessWidget {
),
double.parse(captainWalletController.totalPoints
.toString()) <
-500
-300
? MyElevatedButton(
title: 'Charge your Account'.tr,
onPressed: () {})
@@ -258,7 +258,7 @@ class WaletCaptain extends StatelessWidget {
PointsCaptain(
kolor: AppColor.blueColor,
pricePoint: 5.6,
countPoint: '500',
countPoint: '300',
),
PointsCaptain(
kolor: Colors.green,