2/25/2
This commit is contained in:
@@ -27,14 +27,14 @@ class PaymentHistoryDriverPage extends StatelessWidget {
|
||||
padding: const EdgeInsets.all(4),
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
color: double.parse(list['balance']) < 0
|
||||
color: double.parse(list['amount']) < 0
|
||||
? AppColor.redColor.withOpacity(.4)
|
||||
: AppColor.greenColor.withOpacity(.4)),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Text(
|
||||
list['balance'],
|
||||
list['amount'],
|
||||
style: AppStyle.title,
|
||||
),
|
||||
Text(
|
||||
|
||||
@@ -169,8 +169,10 @@ class WaletCaptain extends StatelessWidget {
|
||||
child: MyTextForm(
|
||||
controller: captainWalletController
|
||||
.amountFromBudgetController,
|
||||
label: 'insert amount'.tr,
|
||||
hint: 'insert amount'.tr,
|
||||
label:
|
||||
'${'You have in account'.tr} ${captainWalletController.totalAmount}',
|
||||
hint:
|
||||
'${'You have in account'.tr} ${captainWalletController.totalAmount}',
|
||||
type: TextInputType.number,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user