This commit is contained in:
Hamza-Ayed
2023-09-06 12:01:52 +03:00
parent 4380826253
commit c2600c5938
56 changed files with 259 additions and 54 deletions

View File

@@ -49,7 +49,7 @@ class CashConfirmPageShown extends StatelessWidget {
],
),
GetBuilder<PaymentController>(
builder: (controller) => Row(
builder: (paymentController) => Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
const Icon(
@@ -69,16 +69,17 @@ class CashConfirmPageShown extends StatelessWidget {
),
Text(
// '${'Your Wallet balance is '.tr}JD ',
'${'Your Wallet balance is '.tr}JD ${controller.passengerTotalWalletAmount.toString()}',
'${'Your Wallet balance is '.tr} ${box.read(BoxName.passengerWalletTotal).toString()} JD',
style: AppStyle.subtitle,
),
],
),
const Spacer(),
Checkbox.adaptive(
value: controller.isWalletCheced,
value: paymentController.isWalletCheced,
onChanged: (value) {
controller.onChangedPymentethodWallet(value);
paymentController
.onChangedPymentethodWallet(value);
},
)
],