3/21/1
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user