CustomButton(icon:AppAssets.add_family,text:"Add a new family member".needTranslation,height:40.h,fontSize:14,onPressed:(){}).paddingOnly(top:12,right:16,left:16,bottom:16),
//TODO:Addfamilyfileswitchlogichere
isRootUser
?CustomButton(icon:AppAssets.add_family,text:"Add a new family member".needTranslation,height:40.h,fontSize:14,onPressed:(){})
.paddingOnly(top:12,right:16,left:16,bottom:16)
:CustomButton(
icon:AppAssets.add_family,
backgroundColor:AppColors.secondaryLightRedColor,
borderColor:AppColors.secondaryLightRedColor,
textColor:AppColors.primaryRedColor,
iconColor:AppColors.primaryRedColor,
text:"Switch to this medical file".needTranslation,