|
|
|
|
@ -56,8 +56,10 @@ class _HabibWalletState extends State<HabibWalletPage> {
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: 180.h,
|
|
|
|
|
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
|
|
|
|
|
color: AppColors.whiteColor,
|
|
|
|
|
borderRadius: 24,
|
|
|
|
|
// color: AppColors.blackBgColor,
|
|
|
|
|
color: Color(0xFF2E3039),
|
|
|
|
|
borderRadius: 24.r,
|
|
|
|
|
hasShadow: true
|
|
|
|
|
),
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: EdgeInsets.all(16.h),
|
|
|
|
|
@ -71,7 +73,7 @@ class _HabibWalletState extends State<HabibWalletPage> {
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
"${_appState.getAuthenticatedUser()!.firstName!} ${_appState.getAuthenticatedUser()!.lastName!}".toText19(isBold: true, color: AppColors.textColor),
|
|
|
|
|
"${_appState.getAuthenticatedUser()!.firstName!} ${_appState.getAuthenticatedUser()!.lastName!}".toText19(isBold: true, color: Colors.white),
|
|
|
|
|
"MRN: ${_appState.getAuthenticatedUser()!.patientId!}".toText14(weight: FontWeight.w500, color: AppColors.greyTextColor),
|
|
|
|
|
],
|
|
|
|
|
).expanded,
|
|
|
|
|
@ -79,10 +81,10 @@ class _HabibWalletState extends State<HabibWalletPage> {
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Spacer(),
|
|
|
|
|
LocaleKeys.balanceAmount.tr(context: context).toText14(weight: FontWeight.w500, color: AppColors.textColor),
|
|
|
|
|
LocaleKeys.balanceAmount.tr(context: context).toText14(weight: FontWeight.w500, color: Colors.white),
|
|
|
|
|
SizedBox(height: 4.h),
|
|
|
|
|
Consumer<HabibWalletViewModel>(builder: (context, habibWalletVM, child) {
|
|
|
|
|
return Utils.getPaymentAmountWithSymbol2(habibWalletVM.habibWalletAmount, textColor: AppColors.textColor, iconColor: AppColors.textColor, iconSize: 16, isExpanded: false)
|
|
|
|
|
return Utils.getPaymentAmountWithSymbol2(habibWalletVM.habibWalletAmount, textColor: Colors.white, iconColor: Colors.white, iconSize: 16, isExpanded: false)
|
|
|
|
|
.toShimmer2(isShow: habibWalletVM.isWalletAmountLoading, radius: 12.h, width: 80.h, height: 24.h);
|
|
|
|
|
}),
|
|
|
|
|
],
|
|
|
|
|
|