@ -1,4 +1,6 @@
import ' package:easy_localization/easy_localization.dart ' ;
import ' package:hmg_patient_app_new/core/app_assets.dart ' ;
import ' package:hmg_patient_app_new/core/app_assets.dart ' ;
import ' package:hmg_patient_app_new/generated/locale_keys.g.dart ' ;
import ' package:hmg_patient_app_new/presentation/home/data/service_card_data.dart ' ;
import ' package:hmg_patient_app_new/presentation/home/data/service_card_data.dart ' ;
import ' package:hmg_patient_app_new/theme/colors.dart ' ;
import ' package:hmg_patient_app_new/theme/colors.dart ' ;
@ -7,8 +9,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " emergency " ,
serviceName: " emergency " ,
icon: AppAssets . emergency_services_icon ,
icon: AppAssets . emergency_services_icon ,
title: " Emergency " ,
title: LocaleKeys . emergency ,
subtitle: " Services " ,
subtitle: LocaleKeys . services2 ,
backgroundColor: AppColors . primaryRedColor ,
backgroundColor: AppColors . primaryRedColor ,
iconColor: AppColors . whiteColor ,
iconColor: AppColors . whiteColor ,
textColor: AppColors . whiteColor ,
textColor: AppColors . whiteColor ,
@ -17,8 +19,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " indoor_navigation " ,
serviceName: " indoor_navigation " ,
icon: AppAssets . indoor_nav_icon ,
icon: AppAssets . indoor_nav_icon ,
title: " Indoor " ,
title: LocaleKeys . indoor ,
subtitle: " Navigation " ,
subtitle: LocaleKeys . navigation ,
backgroundColor: AppColors . whiteColor ,
backgroundColor: AppColors . whiteColor ,
iconColor: AppColors . blackColor ,
iconColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
@ -27,8 +29,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " search_doctor " ,
serviceName: " search_doctor " ,
icon: AppAssets . search_doctor_icon ,
icon: AppAssets . search_doctor_icon ,
title: " Search " ,
title: LocaleKeys . search ,
subtitle: " Doctor " ,
subtitle: LocaleKeys . doctor ,
backgroundColor: AppColors . whiteColor ,
backgroundColor: AppColors . whiteColor ,
iconColor: AppColors . blackColor ,
iconColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
@ -37,8 +39,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " health_calculators_and_converts " ,
serviceName: " health_calculators_and_converts " ,
icon: AppAssets . health_calculators_icon ,
icon: AppAssets . health_calculators_icon ,
title: " Health " ,
title: LocaleKeys . health ,
subtitle: " Calculators " ,
subtitle: LocaleKeys . calculators ,
backgroundColor: AppColors . whiteColor ,
backgroundColor: AppColors . whiteColor ,
iconColor: AppColors . blackColor ,
iconColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
@ -47,8 +49,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " health_converters " ,
serviceName: " health_converters " ,
icon: AppAssets . health_converters_icon ,
icon: AppAssets . health_converters_icon ,
title: " Health " ,
title: LocaleKeys . health ,
subtitle: " Converters " ,
subtitle: LocaleKeys . converters ,
backgroundColor: AppColors . whiteColor ,
backgroundColor: AppColors . whiteColor ,
iconColor: AppColors . blackColor ,
iconColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
@ -57,8 +59,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " parking_guide " ,
serviceName: " parking_guide " ,
icon: AppAssets . car_parking_icon ,
icon: AppAssets . car_parking_icon ,
title: " Parking " ,
title: LocaleKeys . parking ,
subtitle: " Guide " ,
subtitle: LocaleKeys . guide ,
backgroundColor: AppColors . whiteColor ,
backgroundColor: AppColors . whiteColor ,
iconColor: AppColors . blackColor ,
iconColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
@ -70,8 +72,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " emergency " ,
serviceName: " emergency " ,
icon: AppAssets . emergency_services_icon ,
icon: AppAssets . emergency_services_icon ,
title: " Emergency " ,
title: LocaleKeys . emergency ,
subtitle: " Services " ,
subtitle: LocaleKeys . services2 ,
backgroundColor: AppColors . primaryRedColor ,
backgroundColor: AppColors . primaryRedColor ,
iconColor: AppColors . whiteColor ,
iconColor: AppColors . whiteColor ,
textColor: AppColors . whiteColor ,
textColor: AppColors . whiteColor ,
@ -80,8 +82,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " lab_results " ,
serviceName: " lab_results " ,
icon: AppAssets . home_lab_result_icon ,
icon: AppAssets . home_lab_result_icon ,
title: " Lab " ,
title: LocaleKeys . lab ,
subtitle: " Results " ,
subtitle: LocaleKeys . labSubtitle ,
backgroundColor: AppColors . whiteColor ,
backgroundColor: AppColors . whiteColor ,
iconColor: AppColors . blackColor ,
iconColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
@ -90,8 +92,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " radiology_results " ,
serviceName: " radiology_results " ,
icon: AppAssets . my_radiology_icon ,
icon: AppAssets . my_radiology_icon ,
title: " Radiology " ,
title: LocaleKeys . radiology ,
subtitle: " Results " ,
subtitle: LocaleKeys . radiologySubtitle ,
backgroundColor: AppColors . whiteColor ,
backgroundColor: AppColors . whiteColor ,
iconColor: AppColors . blackColor ,
iconColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
@ -100,8 +102,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " prescriptions " ,
serviceName: " prescriptions " ,
icon: AppAssets . my_prescription_icon ,
icon: AppAssets . my_prescription_icon ,
title: " Prescriptions " ,
title: LocaleKeys . medicinesSubtitle ,
subtitle: " Details " ,
subtitle: LocaleKeys . details ,
backgroundColor: AppColors . whiteColor ,
backgroundColor: AppColors . whiteColor ,
iconColor: AppColors . blackColor ,
iconColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
@ -110,8 +112,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " insurance_update " ,
serviceName: " insurance_update " ,
icon: AppAssets . insurance_update_icon ,
icon: AppAssets . insurance_update_icon ,
title: " Insurance " ,
title: LocaleKeys . insurance ,
subtitle: " Details " ,
subtitle: LocaleKeys . details ,
backgroundColor: AppColors . whiteColor ,
backgroundColor: AppColors . whiteColor ,
iconColor: AppColors . blackColor ,
iconColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
@ -130,8 +132,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " sick_leaves " ,
serviceName: " sick_leaves " ,
icon: AppAssets . my_sick_leave_icon ,
icon: AppAssets . my_sick_leave_icon ,
title: " Sick " ,
title: LocaleKeys . sick ,
subtitle: " Leaves " ,
subtitle: LocaleKeys . sickSubtitle ,
backgroundColor: AppColors . whiteColor ,
backgroundColor: AppColors . whiteColor ,
iconColor: AppColors . blackColor ,
iconColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
textColor: AppColors . blackColor ,
@ -143,8 +145,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " livecare " ,
serviceName: " livecare " ,
icon: AppAssets . small_livecare_icon ,
icon: AppAssets . small_livecare_icon ,
title: " LiveCare " ,
title: LocaleKeys . liveCare ,
subtitle: " Explore our app, View our services and offers " ,
subtitle: LocaleKeys . liveCareServiceDesc ,
largeCardIcon: AppAssets . liveCareService ,
largeCardIcon: AppAssets . liveCareService ,
backgroundColor: AppColors . successColor ,
backgroundColor: AppColors . successColor ,
iconColor: AppColors . whiteColor ,
iconColor: AppColors . whiteColor ,
@ -161,8 +163,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " home_health_care " ,
serviceName: " home_health_care " ,
icon: AppAssets . homeBottom ,
icon: AppAssets . homeBottom ,
title: " Home Health Care " ,
title: LocaleKeys . homeHealthCare ,
subtitle: " Explore our app, View our services and offers " ,
subtitle: LocaleKeys . liveCareServiceDesc ,
largeCardIcon: AppAssets . homeHealthCareService ,
largeCardIcon: AppAssets . homeHealthCareService ,
backgroundColor: AppColors . primaryRedColor ,
backgroundColor: AppColors . primaryRedColor ,
iconColor: AppColors . whiteColor ,
iconColor: AppColors . whiteColor ,
@ -171,8 +173,8 @@ class LandingPageData {
ServiceCardData (
ServiceCardData (
serviceName: " pharmacy " ,
serviceName: " pharmacy " ,
icon: AppAssets . pharmacy_icon , / / 359846
icon: AppAssets . pharmacy_icon , / / 359846
title: " Pharmacy " ,
title: LocaleKeys . hmgPharmacy ,
subtitle: " Explore our app, View our services and offers " ,
subtitle: LocaleKeys . liveCareServiceDesc ,
largeCardIcon: AppAssets . pharmacyService ,
largeCardIcon: AppAssets . pharmacyService ,
backgroundColor: AppColors . pharmacyBGColor ,
backgroundColor: AppColors . pharmacyBGColor ,
iconColor: null ,
iconColor: null ,