pull/212/head
haroon amjad 13 hours ago
parent 92101d2b05
commit a9f46a39cc

@ -100,7 +100,7 @@ class _RechargeWalletPageState extends State<RechargeWalletPage> {
isBorderAllowed: false,
isAllowLeadingIcon: true,
autoFocus: true,
fontSize: 40.f,
fontSize: 25.f,
padding: EdgeInsets.symmetric(horizontal: 8.h, vertical: 0.h),
focusNode: textFocusNode,
isWalletAmountInput: true,

@ -307,7 +307,7 @@ class _FamilyCardsState extends State<FamilyCards> {
crossAxisSpacing: 10.w,
mainAxisSpacing: 10.h,
// childAspectRatio: widget.isShowDetails ? 0.56.h : 0.74.h,
childAspectRatio: 0.7.h,
// childAspectRatio: 0.7.h,
),
padding: EdgeInsets.only(bottom: 20.h),
itemBuilder: (context, index) {
@ -340,15 +340,15 @@ class _FamilyCardsState extends State<FamilyCards> {
),
SizedBox(height: 8.h),
(profile.patientName ?? "Unknown").toText14(isBold: true, isCenter: true, maxlines: 1),
SizedBox(height: 8.h),
CustomChipWidget(
chipType: ChipTypeEnum.alert,
backgroundColor: AppColors.lightGrayBGColor,
chipText: "${LocaleKeys.relationship.tr(context: context)}: ${profile.relationship ?? " N/A"}",
iconAsset: AppAssets.heart,
isShowBorder: false,
borderRadius: 8.h,
textColor: AppColors.textColor),
// SizedBox(height: 8.h),
// CustomChipWidget(
// chipType: ChipTypeEnum.alert,
// backgroundColor: AppColors.lightGrayBGColor,
// chipText: "${LocaleKeys.relationship.tr(context: context)}: ${profile.relationship ?? " N/A"}",
// iconAsset: AppAssets.heart,
// isShowBorder: false,
// borderRadius: 8.h,
// textColor: AppColors.textColor),
widget.isShowDetails ? SizedBox(height: 4.h) : SizedBox(),
widget.isShowDetails
? CustomChipWidget(

@ -315,7 +315,7 @@ class TextInputWidget extends StatelessWidget {
autofocus: autoFocus,
textInputAction: TextInputAction.done,
cursorHeight: isWalletAmountInput! ? 40.h : 20.h,
maxLength: isWalletAmountInput! ? 5 : 100,
maxLength: isWalletAmountInput! ? 6 : 100,
onTapOutside: (event) {
FocusManager.instance.primaryFocus?.unfocus();
},

Loading…
Cancel
Save