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