|
|
|
@ -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(
|
|
|
|
|