From 2619998362565af671f0301f4f72ccdd13228766 Mon Sep 17 00:00:00 2001 From: mobileteam Date: Thu, 21 May 2026 01:57:54 -0700 Subject: [PATCH] icons and text changed for the application --- assets/images/new/emergency_services.svg | 6 +++--- assets/images/new/emergency_services_back.svg | 6 +++--- .../all_habib_medical_service_page.dart | 2 +- .../all_habib_medical_service_page2.dart | 6 +++--- .../search_result/ResultByFacility.dart | 8 ++++---- .../search_result/ResultByHospital.dart | 16 ++++++++-------- .../search_result/ResultByRegion.dart | 9 ++++++--- .../landing/fragments/home_page_fragment2.dart | 8 ++++---- lib/widgets/habib_logo_widget.dart | 12 ++++++------ 9 files changed, 38 insertions(+), 35 deletions(-) diff --git a/assets/images/new/emergency_services.svg b/assets/images/new/emergency_services.svg index ab63f29b..ea0633ae 100644 --- a/assets/images/new/emergency_services.svg +++ b/assets/images/new/emergency_services.svg @@ -1,5 +1,5 @@ - - - + + + diff --git a/assets/images/new/emergency_services_back.svg b/assets/images/new/emergency_services_back.svg index 13d9f2d2..7814a08e 100644 --- a/assets/images/new/emergency_services_back.svg +++ b/assets/images/new/emergency_services_back.svg @@ -1,5 +1,5 @@ - - - + + + diff --git a/lib/pages/AlHabibMedicalService/all_habib_medical_service_page.dart b/lib/pages/AlHabibMedicalService/all_habib_medical_service_page.dart index c12aa36a..034c36e5 100644 --- a/lib/pages/AlHabibMedicalService/all_habib_medical_service_page.dart +++ b/lib/pages/AlHabibMedicalService/all_habib_medical_service_page.dart @@ -80,7 +80,7 @@ class _AllHabibMedicalServiceState extends State { hmgServices.add(new HmgServices(0, TranslationBase.of(context).liveCare, TranslationBase.of(context).onlineConsulting, "assets/images/new/Live_Care.svg", isLogin)); hmgServices.add(new HmgServices(1, TranslationBase.of(context).covidTest, TranslationBase.of(context).driveThru, "assets/images/new/covid_test_drive_thru.svg", isLogin)); hmgServices.add(new HmgServices(2, TranslationBase.of(context).online, TranslationBase.of(context).payment, "assets/images/new/visa.png", isLogin)); - hmgServices.add(new HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/HHC.svg", isLogin)); + // hmgServices.add(new HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/HHC.svg", isLogin)); hmgServices.add(new HmgServices(4, TranslationBase.of(context).checkup, TranslationBase.of(context).comprehensive, "assets/images/new/comprehensive_checkup.svg", isLogin)); hmgServices.add(new HmgServices(5, "RRT", TranslationBase.of(context).emergency, "assets/images/new/emergency.svg", isLogin)); hmgServices.add(new HmgServices(6, TranslationBase.of(context).refferal, TranslationBase.of(context).services2, "assets/images/new/E_Referral.svg", isLogin)); diff --git a/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart b/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart index 420f08f1..d5eb13fb 100644 --- a/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart +++ b/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart @@ -68,10 +68,10 @@ class _AllHabibMedicalSevicePage2State extends State hmgServices.add(new HmgServices(0, TranslationBase.of(context).book, TranslationBase.of(context).appointmentLabel, "assets/images/new/book appointment.svg", isLogin)); hmgServices.add(new HmgServices(1, TranslationBase.of(context).liveCare, TranslationBase.of(context).onlineConsulting, "assets/images/new/Live_Care.svg", isLogin)); - hmgServices.add(new HmgServices(2, TranslationBase.of(context).emergencyTitle, TranslationBase.of(context).emergencySubtitle, "assets/images/new/emergency.svg", isLogin)); - hmgServices.add(new HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/HHC.svg", isLogin)); + // hmgServices.add(new HmgServices(2, TranslationBase.of(context).emergencyTitle, TranslationBase.of(context).emergencySubtitle, "assets/images/new/emergency.svg", isLogin)); + // hmgServices.add(new HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/HHC.svg", isLogin)); hmgServices.add(new HmgServices(4, TranslationBase.of(context).checkup, TranslationBase.of(context).comprehensive, "assets/images/new/comprehensive_checkup.svg", isLogin)); - hmgServices.add(new HmgServices(5, TranslationBase.of(context).pharmacyTitle, TranslationBase.of(context).pharmacySubtitle, "assets/images/new/Pharmacy.svg", isLogin)); + // hmgServices.add(new HmgServices(5, TranslationBase.of(context).pharmacyTitle, TranslationBase.of(context).pharmacySubtitle, "assets/images/new/Pharmacy.svg", isLogin)); hmgServices.add(new HmgServices(6, TranslationBase.of(context).medicalFileTitle2, TranslationBase.of(context).medicalFileSubtitle, "assets/images/new/medical file.svg", isLogin)); hmgServices.add(new HmgServices(7, TranslationBase.of(context).familyTitle, TranslationBase.of(context).familySubtitle, "assets/images/new/my family.svg", isLogin)); diff --git a/lib/pages/BookAppointment/search_result/ResultByFacility.dart b/lib/pages/BookAppointment/search_result/ResultByFacility.dart index 3a28e245..99082c5a 100644 --- a/lib/pages/BookAppointment/search_result/ResultByFacility.dart +++ b/lib/pages/BookAppointment/search_result/ResultByFacility.dart @@ -97,10 +97,10 @@ class HospitalTitle extends StatelessWidget { children: [ Row( children: [ - SvgPicture.asset(iconUrl), - SizedBox( - width: 8, - ), + // SvgPicture.asset(iconUrl), + // SizedBox( + // width: 8, + // ), Text( title, style: TextStyle( diff --git a/lib/pages/BookAppointment/search_result/ResultByHospital.dart b/lib/pages/BookAppointment/search_result/ResultByHospital.dart index 42c815dd..e66559f1 100644 --- a/lib/pages/BookAppointment/search_result/ResultByHospital.dart +++ b/lib/pages/BookAppointment/search_result/ResultByHospital.dart @@ -106,14 +106,14 @@ class HospitalBodyWidget extends StatelessWidget { children: [ Row( children: [ - Padding( - padding: const EdgeInsets.all(6.0), - child: SvgPicture.asset( - isHMC - ? 'assets/images/svg/HMC.svg' - : 'assets/images/svg/HMG.svg', - ), - ), + // Padding( + // padding: const EdgeInsets.all(6.0), + // child: SvgPicture.asset( + // isHMC + // ? 'assets/images/svg/HMC.svg' + // : 'assets/images/svg/HMG.svg', + // ), + // ), Expanded( child: Directionality( textDirection: (context diff --git a/lib/pages/BookAppointment/search_result/ResultByRegion.dart b/lib/pages/BookAppointment/search_result/ResultByRegion.dart index 91553b3d..17c19b38 100644 --- a/lib/pages/BookAppointment/search_result/ResultByRegion.dart +++ b/lib/pages/BookAppointment/search_result/ResultByRegion.dart @@ -101,7 +101,8 @@ class RegionTitle extends StatelessWidget { Row( children: [ Visibility( - visible: hmgCount != "0", + // visible: hmgCount != "0", + visible: false, child: Row( children: [ SvgPicture.asset( @@ -123,10 +124,12 @@ class RegionTitle extends StatelessWidget { ), ), Visibility( - visible: hmcCount != "0" && hmgCount != "0", + // visible: hmcCount != "0" && hmgCount != "0", + visible: false, child: Text(", ")), Visibility( - visible: hmcCount != "0", + // visible: hmcCount != "0", + visible: false, child: Row( children: [ SvgPicture.asset( diff --git a/lib/pages/landing/fragments/home_page_fragment2.dart b/lib/pages/landing/fragments/home_page_fragment2.dart index d01554ea..23c845b3 100644 --- a/lib/pages/landing/fragments/home_page_fragment2.dart +++ b/lib/pages/landing/fragments/home_page_fragment2.dart @@ -61,9 +61,9 @@ class _HomePageFragment2State extends State { isLocked: !projectViewModel.havePrivilege(107))) : hmgServices.add(HmgServices(2, TranslationBase.of(context).emergencyTitle, TranslationBase.of(context).emergencySubtitle, "assets/images/new/emergency.svg", isLogin)); - hmgServices.add( - HmgServices(9, TranslationBase.of(context).emergency, TranslationBase.of(context).checkinOptions, "assets/images/new/emergency.svg", isLogin, isLocked: !projectViewModel.havePrivilege(108))); - hmgServices.add(HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/HHC.svg", isLogin)); + // hmgServices.add( + // HmgServices(9, TranslationBase.of(context).emergency, TranslationBase.of(context).checkinOptions, "assets/images/new/emergency.svg", isLogin, isLocked: !projectViewModel.havePrivilege(108))); + // hmgServices.add(HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/HHC.svg", isLogin)); hmgServices.add(HmgServices(4, TranslationBase.of(context).checkup, TranslationBase.of(context).comprehensive, "assets/images/new/comprehensive_checkup.svg", isLogin)); hmgServices.add(HmgServices(5, TranslationBase.of(context).online, TranslationBase.of(context).payment, "assets/images/new/paymentMethods.png", isLogin)); hmgServices.add(HmgServices(6, TranslationBase.of(context).ereferralTitle, TranslationBase.of(context).ereferralSubtitle, "assets/images/new/E_Referral.svg", isLogin)); @@ -240,7 +240,7 @@ class _HomePageFragment2State extends State { children: [ offersButton(), mWidth(10), - hmgButton(), + // hmgButton(), ], ), ), diff --git a/lib/widgets/habib_logo_widget.dart b/lib/widgets/habib_logo_widget.dart index 94e2d5c1..824d332d 100644 --- a/lib/widgets/habib_logo_widget.dart +++ b/lib/widgets/habib_logo_widget.dart @@ -8,12 +8,12 @@ class HabibLogoWidget extends StatelessWidget { Widget build(BuildContext context) { return Row( children: [ - SvgPicture.asset( - "assets/images/new/logo.svg", - height: 24, - width: 62, - ), - SizedBox(width: 10), + // SvgPicture.asset( + // "assets/images/new/logo.svg", + // height: 24, + // width: 62, + // ), + // SizedBox(width: 10), Expanded( child: Column( crossAxisAlignment: CrossAxisAlignment.start,