This commit is contained in:
Hamza-Ayed
2024-09-11 10:10:18 +03:00
parent 8a9d270672
commit 98ee34490c
13 changed files with 373 additions and 202 deletions

View File

@@ -398,26 +398,26 @@ class WalletCaptain extends StatelessWidget {
GetBuilder<CaptainWalletController>(
builder: (captainWalletController) {
return Padding(
padding: const EdgeInsets.all(8.0),
child: Row(
children: [
SizedBox(
width: Get.width * .9,
// height: Get.height * .1,
// decoration: AppStyle.boxDecoration,
child: Stack(
children: [
InkWell(
onTap: () {
MyDialog().getDialog(
'Morning Promo'.tr,
"this is count of your all trips in the morning promo today from 7:00am-10:00am"
.tr, () {
Get.back();
});
},
child: LinearProgressIndicator(
return InkWell(
onTap: () {
MyDialog().getDialog(
'Morning Promo'.tr,
"this is count of your all trips in the morning promo today from 7:00am-10:00am"
.tr, () {
Get.back();
});
},
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Row(
children: [
SizedBox(
width: Get.width * .9,
// height: Get.height * .1,
// decoration: AppStyle.boxDecoration,
child: Stack(
children: [
LinearProgressIndicator(
minHeight: 35,
color: AppColor.blueColor,
borderRadius:
@@ -431,53 +431,53 @@ class WalletCaptain extends StatelessWidget {
.toString()) /
5,
),
),
Row(
mainAxisAlignment:
MainAxisAlignment.center,
children: <Widget>[
Text(
'Morning Promo Rides'.tr,
style: AppStyle.title,
),
const SizedBox(
width: 20,
),
Text(
'${captainWalletController.walletDate['message'][0]['morning_count']} / 5',
style: AppStyle.title,
),
],
),
],
),
)
],
Row(
mainAxisAlignment:
MainAxisAlignment.center,
children: <Widget>[
Text(
'Morning Promo Rides'.tr,
style: AppStyle.title,
),
const SizedBox(
width: 20,
),
Text(
'${captainWalletController.walletDate['message'][0]['morning_count']} / 5',
style: AppStyle.title,
),
],
),
],
),
)
],
),
),
);
}),
GetBuilder<CaptainWalletController>(
builder: (captainWalletController) {
return Padding(
padding: const EdgeInsets.all(8.0),
child: Row(
children: [
SizedBox(
width: Get.width * .9,
// height: Get.height * .1,
// decoration: AppStyle.boxDecoration,
child: Stack(
children: [
InkWell(
onTap: () {
MyDialog().getDialog(
'Afternoon Promo'.tr,
"this is count of your all trips in the Afternoon promo today from 3:00pm-6:00 pm"
.tr, () {
Get.back();
});
},
child: LinearProgressIndicator(
return InkWell(
onTap: () {
MyDialog().getDialog(
'Afternoon Promo'.tr,
"this is count of your all trips in the Afternoon promo today from 3:00pm-6:00 pm"
.tr, () {
Get.back();
});
},
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Row(
children: [
SizedBox(
width: Get.width * .9,
// height: Get.height * .1,
// decoration: AppStyle.boxDecoration,
child: Stack(
children: [
LinearProgressIndicator(
minHeight: 35,
color: AppColor.blueColor,
borderRadius:
@@ -491,28 +491,28 @@ class WalletCaptain extends StatelessWidget {
.toString()) /
5,
),
),
Row(
mainAxisAlignment:
MainAxisAlignment.center,
children: <Widget>[
Text(
'Afternoon Promo Rides'.tr,
style: AppStyle.title,
),
const SizedBox(
width: 20,
),
Text(
'${captainWalletController.walletDate['message'][0]['afternoon_count']} / 5',
style: AppStyle.title,
),
],
),
],
),
)
],
Row(
mainAxisAlignment:
MainAxisAlignment.center,
children: <Widget>[
Text(
'Afternoon Promo Rides'.tr,
style: AppStyle.title,
),
const SizedBox(
width: 20,
),
Text(
'${captainWalletController.walletDate['message'][0]['afternoon_count']} / 5',
style: AppStyle.title,
),
],
),
],
),
)
],
),
),
);
}),