9/11/1
This commit is contained in:
@@ -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,
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user