|
|
|
@ -34,6 +34,7 @@ import 'package:hmg_patient_app_new/presentation/home/service_info_page.dart';
|
|
|
|
import 'package:hmg_patient_app_new/presentation/home/widgets/large_service_card.dart';
|
|
|
|
import 'package:hmg_patient_app_new/presentation/home/widgets/large_service_card.dart';
|
|
|
|
import 'package:hmg_patient_app_new/presentation/hmg_services/widgets/weather_widget.dart';
|
|
|
|
import 'package:hmg_patient_app_new/presentation/hmg_services/widgets/weather_widget.dart';
|
|
|
|
import 'package:hmg_patient_app_new/presentation/medical_file/medical_file_page.dart';
|
|
|
|
import 'package:hmg_patient_app_new/presentation/medical_file/medical_file_page.dart';
|
|
|
|
|
|
|
|
import 'package:hmg_patient_app_new/presentation/my_family/my_family.dart';
|
|
|
|
import 'package:hmg_patient_app_new/presentation/parking/paking_page.dart';
|
|
|
|
import 'package:hmg_patient_app_new/presentation/parking/paking_page.dart';
|
|
|
|
import 'package:hmg_patient_app_new/presentation/servicesPriceList/services_price_list_page.dart';
|
|
|
|
import 'package:hmg_patient_app_new/presentation/servicesPriceList/services_price_list_page.dart';
|
|
|
|
import 'package:hmg_patient_app_new/services/dialog_service.dart';
|
|
|
|
import 'package:hmg_patient_app_new/services/dialog_service.dart';
|
|
|
|
@ -586,7 +587,7 @@ class _ServicesPageState extends State<ServicesPage> {
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Utils.buildSvgWithAssets(icon: AppAssets.services_medical_file_icon, width: 40.w, height: 40.h, applyThemeColor: false),
|
|
|
|
Utils.buildSvgWithAssets(icon: AppAssets.services_medical_file_icon, width: 40.w, height: 40.h, applyThemeColor: false),
|
|
|
|
LocaleKeys.medicalFile.tr().toText16(isBold: true, maxlines: 2).expanded,
|
|
|
|
LocaleKeys.familyTitle.tr().toText16(isBold: true, maxlines: 2).expanded,
|
|
|
|
Utils.buildSvgWithAssets(icon: getIt.get<AppState>().isArabic() ? AppAssets.arrow_back : AppAssets.arrow_forward),
|
|
|
|
Utils.buildSvgWithAssets(icon: getIt.get<AppState>().isArabic() ? AppAssets.arrow_back : AppAssets.arrow_forward),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -653,9 +654,15 @@ class _ServicesPageState extends State<ServicesPage> {
|
|
|
|
],
|
|
|
|
],
|
|
|
|
).onPress(() async {
|
|
|
|
).onPress(() async {
|
|
|
|
if (getIt.get<AppState>().isAuthenticated) {
|
|
|
|
if (getIt.get<AppState>().isAuthenticated) {
|
|
|
|
|
|
|
|
// Navigator.of(context).push(
|
|
|
|
|
|
|
|
// CustomPageRoute(
|
|
|
|
|
|
|
|
// page: MedicalFilePage(),
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// );
|
|
|
|
Navigator.of(context).push(
|
|
|
|
Navigator.of(context).push(
|
|
|
|
CustomPageRoute(
|
|
|
|
CustomPageRoute(
|
|
|
|
page: MedicalFilePage(),
|
|
|
|
direction: AxisDirection.down,
|
|
|
|
|
|
|
|
page: FamilyMedicalScreen(),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|