change medical profile icons

er_location
Mohammad Aljammal 5 years ago
parent 3ffff9686d
commit d6a27a8e28

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

@ -10,9 +10,10 @@ class MedicalViewModel extends BaseViewModel {
List<AppoitmentAllHistoryResultList> get appoitmentAllHistoryResultList =>
_medicalService.appoitmentAllHistoryResultList;
getAppointmentHistory() async{
getAppointmentHistory() async {
setState(ViewState.Busy);
await _medicalService.getAppointmentHistory();
if (_medicalService.appoitmentAllHistoryResultList.length == 0)
await _medicalService.getAppointmentHistory();
if (_medicalService.hasError) {
error = _medicalService.error;
setState(ViewState.Error);

@ -180,7 +180,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
child: MedicalProfileItem(
title: TranslationBase.of(context)
.vitalSigns,
imagePath: 'medical_history_icon.png',
imagePath: 'vital_signs.png',
subTitle: TranslationBase.of(context)
.vitalSignsSubtitle,
),
@ -194,7 +194,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
child: MedicalProfileItem(
title: TranslationBase.of(context)
.myMedical,
imagePath: 'radiology_icon.png',
imagePath: 'active_medications.png',
subTitle: TranslationBase.of(context)
.myMedicalSubtitle,
),
@ -235,8 +235,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
},
child: MedicalProfileItem(
title: TranslationBase.of(context).eye,
imagePath:
'insurance_approvals_icon.png',
imagePath: 'eye_measurement_icon.png',
subTitle: TranslationBase.of(context)
.eyeSubtitle,
),
@ -271,7 +270,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
child: MedicalProfileItem(
title: TranslationBase.of(context)
.updateInsurance,
imagePath: 'insurance_card_icon.png',
imagePath: 'insurance_update_icon_.png',
subTitle: TranslationBase.of(context)
.updateInsuranceSubtitle,
),
@ -299,7 +298,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
onTap:()=> Navigator.push(context, FadePage(page: AllergiesPage())) ,
child: MedicalProfileItem(
title: TranslationBase.of(context).allergies,
imagePath: 'medical_history_icon.png',
imagePath: 'my_allergies_icon.png',
subTitle: TranslationBase.of(context)
.allergiesSubtitle,
),
@ -317,7 +316,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
child: MedicalProfileItem(
title: TranslationBase.of(context)
.myVaccines,
imagePath: 'insurance_card_icon.png',
imagePath: 'my_vaccines_icon.png',
subTitle: TranslationBase.of(context)
.myVaccinesSubtitle,
),
@ -333,7 +332,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
child: MedicalProfileItem(
title:
TranslationBase.of(context).medical,
imagePath: 'insurance_approvals_icon.png',
imagePath: 'medical_reports_icon.png',
subTitle: TranslationBase.of(context)
.medicalSubtitle,
),
@ -349,7 +348,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
child: MedicalProfileItem(
title:
TranslationBase.of(context).monthly,
imagePath: 'medical_history_icon.png',
imagePath: 'monthly_reports_icon.png',
subTitle: TranslationBase.of(context)
.monthlySubtitle,
),
@ -368,7 +367,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
},
child: MedicalProfileItem(
title: TranslationBase.of(context).sick,
imagePath: 'insurance_card_icon.png',
imagePath: 'sick_leaves_icons.png',
subTitle: TranslationBase.of(context)
.sickSubtitle,
),
@ -384,7 +383,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
child: MedicalProfileItem(
title:
TranslationBase.of(context).myBalance,
imagePath: 'insurance_approvals_icon.png',
imagePath: 'check-in.png',
subTitle: TranslationBase.of(context)
.myBalanceSubtitle,
),
@ -413,7 +412,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
child: MedicalProfileItem(
title: TranslationBase.of(context)
.smartWatches,
imagePath: 'insurance_card_icon.png',
imagePath: 'smartwatch_icon.png',
subTitle: TranslationBase.of(context)
.smartWatchesSubtitle,
),
@ -429,7 +428,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
child: MedicalProfileItem(
title: TranslationBase.of(context)
.myTrackers,
imagePath: 'insurance_approvals_icon.png',
imagePath: 'my_tracker_icon.png',
subTitle: TranslationBase.of(context)
.myTrackersSubtitle,
),
@ -444,7 +443,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
},
child: MedicalProfileItem(
title: TranslationBase.of(context).askYour,
imagePath: 'medical_history_icon.png',
imagePath: 'ask_doctor_icon.png',
subTitle: TranslationBase.of(context)
.askYourSubtitle,
),

@ -42,7 +42,8 @@ class MedicalProfileItem extends StatelessWidget {
alignment: Alignment.bottomRight,
child: Image.asset(
"assets/images/medical/$imagePath",
height: SizeConfig.heightMultiplier * 7,
height: SizeConfig.heightMultiplier * 5,
width: SizeConfig.heightMultiplier * 5,
),
)
],

Loading…
Cancel
Save