@ -48,29 +48,29 @@ class _AllHabibMedicalSevicePage2State extends State<AllHabibMedicalSevicePage2>
initialiseHmgServices ( bool isLogin ) {
hmgServices . clear ( ) ;
hmgServices . add ( new HmgServices ( 0 , TranslationBase . of ( context ) . liveCare , TranslationBase . of ( context ) . onlineConsulting , " assets/images/new/Live_Care.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 0 , TranslationBase . of ( context ) . liveCare Title , TranslationBase . of ( context ) . liveCareSubtitle , " 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 ) . onlinePayment , TranslationBase . of ( context ) . onlinePaymentSubtitle , " assets/images/new/paymentMethods.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 ( 4 , TranslationBase . of ( context ) . cmcTitle , TranslationBase . of ( context ) . cmcSubtitle , " assets/images/new/comprehensive_checkup.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 5 , TranslationBase . of ( context ) . emergencyTitle , TranslationBase . of ( context ) . emergencySubtitle , " assets/images/new/emergency.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 6 , TranslationBase . of ( context ) . ereferralTitle , TranslationBase . of ( context ) . ereferralSubtitle , " assets/images/new/E_Referral.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 7 , " H \u2082 O " , TranslationBase . of ( context ) . dailyWater , " assets/images/new/h2o.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 7 , TranslationBase . of ( context ) . waterTitle , TranslationBase . of ( context ) . waterSubtitle , " assets/images/new/h2o.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 8 , TranslationBase . of ( context ) . findUs , TranslationBase . of ( context ) . reachUs , " assets/images/new/reach_us.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 9 , TranslationBase . of ( context ) . medicalFile , TranslationBase . of ( context ) . My_File_Details , " assets/images/new/medical file.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 10 , TranslationBase . of ( context ) . book , TranslationBase . of ( context ) . appointment , " assets/images/new/book appointment.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 11 , TranslationBase . of ( context ) . onlin e, TranslationBase . of ( context ) . pharmacy , " assets/images/new/Pharmacy.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 9 , TranslationBase . of ( context ) . medicalFile Title2 , TranslationBase . of ( context ) . medicalFileSubtitle , " assets/images/new/medical file.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 10 , TranslationBase . of ( context ) . book , TranslationBase . of ( context ) . appointment Label , " assets/images/new/book appointment.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 11 , TranslationBase . of ( context ) . pharmacyTitl e, TranslationBase . of ( context ) . pharmacy Subtitle , " assets/images/new/Pharmacy.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 12 , TranslationBase . of ( context ) . updateInsurance , TranslationBase . of ( context ) . updateInsuranceSubtitle , " assets/images/new/update insurance card.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 13 , TranslationBase . of ( context ) . myFamily , TranslationBase . of ( context ) . Family_Files , " assets/images/new/my family.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 13 , TranslationBase . of ( context ) . familyTitle , TranslationBase . of ( context ) . familySubtitle , " assets/images/new/my family.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 14 , TranslationBase . of ( context ) . My_Child , TranslationBase . of ( context ) . Vaccines , " assets/images/new/child vaccines.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 15 , TranslationBase . of ( context ) . Todo , TranslationBase . of ( context ) . list , " assets/images/new/todo.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 16 , TranslationBase . of ( context ) . Blood , TranslationBase . of ( context ) . Donation , " assets/images/new/blood donation.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 17 , TranslationBase . of ( context ) . Health , TranslationBase . of ( context ) . Calculator, " assets/images/new/health calculator.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 18 , TranslationBase . of ( context ) . Health , TranslationBase . of ( context ) . Converter, " assets/images/new/health converter.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 19 , TranslationBase . of ( context ) . Smart , TranslationBase . of ( context ) . Watches, " assets/images/new/smart watch.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 20 , TranslationBase . of ( context ) . Parking , TranslationBase . of ( context ) . Details , " assets/images/new/parking details.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 17 , TranslationBase . of ( context ) . healthCalculatorTitle , TranslationBase . of ( context ) . health CalculatorSubtitle , " assets/images/new/health calculator.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 18 , TranslationBase . of ( context ) . healthConvertersTitle , TranslationBase . of ( context ) . health ConvertersSubtitle , " assets/images/new/health converter.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 19 , TranslationBase . of ( context ) . smartWatches. split ( " " ) [ 0 ] , TranslationBase . of ( context ) . smart Watches. split ( " " ) [ 1 ] , " assets/images/new/smart watch.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 20 , TranslationBase . of ( context ) . parkingTitle2 , TranslationBase . of ( context ) . parkingSubtitle , " assets/images/new/parking details.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 21 , TranslationBase . of ( context ) . Virtual , TranslationBase . of ( context ) . Tour , " assets/images/new/virtual tour.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 22 , TranslationBase . of ( context ) . News, TranslationBase . of ( context ) . Latest , " assets/images/new/latest news.svg " , isLogin ) ) ;
hmgServices . add ( new HmgServices ( 22 , TranslationBase . of ( context ) . latest News. split ( " " ) [ 0 ] , TranslationBase . of ( context ) . latestNews. split ( " " ) [ 1 ] , " assets/images/new/latest news.svg " , isLogin ) ) ;
}
@ override
@ -90,7 +90,7 @@ class _AllHabibMedicalSevicePage2State extends State<AllHabibMedicalSevicePage2>
child: Column (
children: [
AspectRatio (
aspectRatio: 1. 8 ,
aspectRatio: 1. 9 ,
child: Container (
width: double . infinity ,
height: double . infinity ,
@ -106,7 +106,7 @@ class _AllHabibMedicalSevicePage2State extends State<AllHabibMedicalSevicePage2>
? Color ( 0xFFFECB50 )
: Color ( 0xFF122F48 ) ) ,
child: Padding (
padding: const EdgeInsets . all ( 3 0.0) ,
padding: const EdgeInsets . all ( 2 0.0) ,
child: Stack (
alignment: projectViewModel . isArabic ? Alignment . centerLeft : Alignment . centerRight ,
children: [
@ -118,7 +118,7 @@ class _AllHabibMedicalSevicePage2State extends State<AllHabibMedicalSevicePage2>
child: Text (
weather ,
style: TextStyle (
fontSize: 30 ,
fontSize: 24 ,
letterSpacing: - 0.83 ,
fontWeight: FontWeight . bold ,
color: Colors . white ,
@ -134,11 +134,11 @@ class _AllHabibMedicalSevicePage2State extends State<AllHabibMedicalSevicePage2>
color: Colors . white ,
) ,
) ,
mFlex ( 1 ) ,
mFlex ( 0 ) ,
Text (
TranslationBase . of ( context ) . healthWeatherIndicators ,
style: TextStyle (
fontSize: 1 6 ,
fontSize: 1 2 ,
letterSpacing: - 0.96 ,
fontWeight: FontWeight . bold ,
color: Colors . white ,
@ -147,7 +147,7 @@ class _AllHabibMedicalSevicePage2State extends State<AllHabibMedicalSevicePage2>
Text (
TranslationBase . of ( context ) . healthTipsBasedOnCurrentWeather ,
style: TextStyle (
fontSize: 1 2 ,
fontSize: 1 0 ,
letterSpacing: - 0.72 ,
fontWeight: FontWeight . w600 ,
color: Colors . white ,
@ -163,7 +163,7 @@ class _AllHabibMedicalSevicePage2State extends State<AllHabibMedicalSevicePage2>
) ;
} ,
child: Padding (
padding: const EdgeInsets . only ( top: 8, bottom: 8 ) ,
padding: const EdgeInsets . only ( top: 0, bottom: 0 ) ,
child: Text (
TranslationBase . of ( context ) . moreDetails ,
style: TextStyle ( fontSize: 12 , letterSpacing: - 0.72 , fontWeight: FontWeight . w600 , color: Colors . white , decoration: TextDecoration . underline ) ,