From ae30e23d4d4480cf2151cbd6c8e93414f3cd2dc0 Mon Sep 17 00:00:00 2001 From: Elham Rababh Date: Sun, 1 Aug 2021 16:59:49 +0300 Subject: [PATCH] rename call back files --- lib/core/viewModel/SOAP_view_model.dart | 8 ++--- ...allBack.dart => assessment_call_back.dart} | 0 .../assessment/update_assessment_page.dart | 2 +- ...CallBack.dart => objective_call_back.dart} | 0 .../objective/update_objective_page.dart | 2 +- ...{planCallBack.dart => plan_call_back.dart} | 0 .../soap_update/plan/update_plan_page.dart | 2 +- ...allBack.dart => subjective_call_back.dart} | 0 .../subjective/update_subjective_page.dart | 2 +- .../soap_update/update_soap_index.dart | 30 +++++++++---------- 10 files changed, 23 insertions(+), 23 deletions(-) rename lib/screens/patients/profile/soap_update/assessment/{assessmentCallBack.dart => assessment_call_back.dart} (100%) rename lib/screens/patients/profile/soap_update/objective/{objectiveCallBack.dart => objective_call_back.dart} (100%) rename lib/screens/patients/profile/soap_update/plan/{planCallBack.dart => plan_call_back.dart} (100%) rename lib/screens/patients/profile/soap_update/subjective/{subjectiveCallBack.dart => subjective_call_back.dart} (100%) diff --git a/lib/core/viewModel/SOAP_view_model.dart b/lib/core/viewModel/SOAP_view_model.dart index 0c6004e2..a3320145 100644 --- a/lib/core/viewModel/SOAP_view_model.dart +++ b/lib/core/viewModel/SOAP_view_model.dart @@ -28,10 +28,10 @@ import 'package:doctor_app_flutter/models/SOAP/post_physical_exam_request_model. import 'package:doctor_app_flutter/models/SOAP/post_progress_note_request_model.dart'; import 'package:doctor_app_flutter/models/SOAP/selected_items/my_selected_examination.dart'; import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart'; -import 'package:doctor_app_flutter/screens/patients/profile/soap_update/assessment/assessmentCallBack.dart'; -import 'package:doctor_app_flutter/screens/patients/profile/soap_update/objective/objectiveCallBack.dart'; -import 'package:doctor_app_flutter/screens/patients/profile/soap_update/plan/planCallBack.dart'; -import 'package:doctor_app_flutter/screens/patients/profile/soap_update/subjective/subjectiveCallBack.dart'; +import 'package:doctor_app_flutter/screens/patients/profile/soap_update/assessment/assessment_call_back.dart'; +import 'package:doctor_app_flutter/screens/patients/profile/soap_update/objective/objective_call_back.dart'; +import 'package:doctor_app_flutter/screens/patients/profile/soap_update/plan/plan_call_back.dart'; +import 'package:doctor_app_flutter/screens/patients/profile/soap_update/subjective/subjective_call_back.dart'; import 'package:flutter/material.dart'; import '../../locator.dart'; diff --git a/lib/screens/patients/profile/soap_update/assessment/assessmentCallBack.dart b/lib/screens/patients/profile/soap_update/assessment/assessment_call_back.dart similarity index 100% rename from lib/screens/patients/profile/soap_update/assessment/assessmentCallBack.dart rename to lib/screens/patients/profile/soap_update/assessment/assessment_call_back.dart diff --git a/lib/screens/patients/profile/soap_update/assessment/update_assessment_page.dart b/lib/screens/patients/profile/soap_update/assessment/update_assessment_page.dart index 6f476c65..c059c2b0 100644 --- a/lib/screens/patients/profile/soap_update/assessment/update_assessment_page.dart +++ b/lib/screens/patients/profile/soap_update/assessment/update_assessment_page.dart @@ -25,7 +25,7 @@ import '../shared_soap_widgets/SOAP_open_items.dart'; import '../shared_soap_widgets/SOAP_step_header.dart'; import '../shared_soap_widgets/expandable_SOAP_widget.dart'; import 'add_assessment_details.dart'; -import 'assessmentCallBack.dart'; +import 'assessment_call_back.dart'; // ignore: must_be_immutable class UpdateAssessmentPage extends StatefulWidget { diff --git a/lib/screens/patients/profile/soap_update/objective/objectiveCallBack.dart b/lib/screens/patients/profile/soap_update/objective/objective_call_back.dart similarity index 100% rename from lib/screens/patients/profile/soap_update/objective/objectiveCallBack.dart rename to lib/screens/patients/profile/soap_update/objective/objective_call_back.dart diff --git a/lib/screens/patients/profile/soap_update/objective/update_objective_page.dart b/lib/screens/patients/profile/soap_update/objective/update_objective_page.dart index 7109f21b..396d492d 100644 --- a/lib/screens/patients/profile/soap_update/objective/update_objective_page.dart +++ b/lib/screens/patients/profile/soap_update/objective/update_objective_page.dart @@ -10,7 +10,6 @@ import 'package:doctor_app_flutter/models/SOAP/post_physical_exam_request_model. import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart'; import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart'; import 'package:doctor_app_flutter/screens/base/base_view.dart'; -import 'package:doctor_app_flutter/screens/patients/profile/soap_update/objective/objectiveCallBack.dart'; import 'package:doctor_app_flutter/screens/patients/profile/soap_update/soap_utils.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:doctor_app_flutter/util/translations_delegate_base.dart'; @@ -26,6 +25,7 @@ import '../shared_soap_widgets/SOAP_step_header.dart'; import '../shared_soap_widgets/expandable_SOAP_widget.dart'; import 'add_examination_page.dart'; import 'examination_item_card.dart'; +import 'objective_call_back.dart'; class UpdateObjectivePage extends StatefulWidget { final Function changePageViewIndex; diff --git a/lib/screens/patients/profile/soap_update/plan/planCallBack.dart b/lib/screens/patients/profile/soap_update/plan/plan_call_back.dart similarity index 100% rename from lib/screens/patients/profile/soap_update/plan/planCallBack.dart rename to lib/screens/patients/profile/soap_update/plan/plan_call_back.dart diff --git a/lib/screens/patients/profile/soap_update/plan/update_plan_page.dart b/lib/screens/patients/profile/soap_update/plan/update_plan_page.dart index c17b593f..c627b151 100644 --- a/lib/screens/patients/profile/soap_update/plan/update_plan_page.dart +++ b/lib/screens/patients/profile/soap_update/plan/update_plan_page.dart @@ -10,7 +10,7 @@ import 'package:doctor_app_flutter/models/SOAP/post_progress_note_request_model. import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart'; import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart'; import 'package:doctor_app_flutter/screens/base/base_view.dart'; -import 'package:doctor_app_flutter/screens/patients/profile/soap_update/plan/planCallBack.dart'; +import 'package:doctor_app_flutter/screens/patients/profile/soap_update/plan/plan_call_back.dart'; import 'package:doctor_app_flutter/util/date-utils.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:doctor_app_flutter/util/translations_delegate_base.dart'; diff --git a/lib/screens/patients/profile/soap_update/subjective/subjectiveCallBack.dart b/lib/screens/patients/profile/soap_update/subjective/subjective_call_back.dart similarity index 100% rename from lib/screens/patients/profile/soap_update/subjective/subjectiveCallBack.dart rename to lib/screens/patients/profile/soap_update/subjective/subjective_call_back.dart diff --git a/lib/screens/patients/profile/soap_update/subjective/update_subjective_page.dart b/lib/screens/patients/profile/soap_update/subjective/update_subjective_page.dart index db3ab7c8..137d9faf 100644 --- a/lib/screens/patients/profile/soap_update/subjective/update_subjective_page.dart +++ b/lib/screens/patients/profile/soap_update/subjective/update_subjective_page.dart @@ -16,7 +16,7 @@ import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart'; import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart'; import 'package:doctor_app_flutter/screens/base/base_view.dart'; import 'package:doctor_app_flutter/screens/patients/profile/soap_update/soap_utils.dart'; -import 'package:doctor_app_flutter/screens/patients/profile/soap_update/subjective/subjectiveCallBack.dart'; +import 'package:doctor_app_flutter/screens/patients/profile/soap_update/subjective/subjective_call_back.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:doctor_app_flutter/util/translations_delegate_base.dart'; import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart'; diff --git a/lib/screens/patients/profile/soap_update/update_soap_index.dart b/lib/screens/patients/profile/soap_update/update_soap_index.dart index 77c395e5..d4cc5ca9 100644 --- a/lib/screens/patients/profile/soap_update/update_soap_index.dart +++ b/lib/screens/patients/profile/soap_update/update_soap_index.dart @@ -99,21 +99,21 @@ class _UpdateSoapIndexState extends State }, scrollDirection: Axis.horizontal, children: [ - // UpdateSubjectivePage( - // changePageViewIndex: changePageViewIndex, - // currentIndex: _currentIndex, - // patientInfo: patient, - // changeLoadingState: changeLoadingState), - // UpdateObjectivePage( - // changePageViewIndex: changePageViewIndex, - // currentIndex: _currentIndex, - // patientInfo: patient, - // changeLoadingState: changeLoadingState), - // UpdateAssessmentPage( - // changePageViewIndex: changePageViewIndex, - // currentIndex: _currentIndex, - // patientInfo: patient, - // changeLoadingState: changeLoadingState), + UpdateSubjectivePage( + changePageViewIndex: changePageViewIndex, + currentIndex: _currentIndex, + patientInfo: patient, + changeLoadingState: changeLoadingState), + UpdateObjectivePage( + changePageViewIndex: changePageViewIndex, + currentIndex: _currentIndex, + patientInfo: patient, + changeLoadingState: changeLoadingState), + UpdateAssessmentPage( + changePageViewIndex: changePageViewIndex, + currentIndex: _currentIndex, + patientInfo: patient, + changeLoadingState: changeLoadingState), UpdatePlanPage( changePageViewIndex: changePageViewIndex, currentIndex: _currentIndex,