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