pull/212/head
haroon amjad 1 day ago
parent 92101d2b05
commit a9f46a39cc

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

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

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

Loading…
Cancel
Save