|
|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/core/app_state.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/core/dependencies.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/core/enums.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/core/utils/utils.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/extensions/route_extensions.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/features/book_appointments/book_appointments_view_model.dart';
|
|
|
|
|
@ -12,6 +13,8 @@ import 'package:hmg_patient_app_new/presentation/medical_file/medical_file_page.
|
|
|
|
|
import 'package:hmg_patient_app_new/routes/app_routes.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/widgets/bottom_navigation/bottom_navigation.dart';
|
|
|
|
|
|
|
|
|
|
import '../health_calculators_and_converts/health_calculators_page.dart';
|
|
|
|
|
|
|
|
|
|
class LandingNavigation extends StatefulWidget {
|
|
|
|
|
const LandingNavigation({super.key});
|
|
|
|
|
|
|
|
|
|
@ -32,7 +35,7 @@ class _LandingNavigationState extends State<LandingNavigation> {
|
|
|
|
|
physics: const NeverScrollableScrollPhysics(),
|
|
|
|
|
children: [
|
|
|
|
|
const LandingPage(),
|
|
|
|
|
appState.isAuthenticated ? MedicalFilePage(showBackIcon: false) : /* need add feedback page */ FeedbackPage(),
|
|
|
|
|
appState.isAuthenticated ? MedicalFilePage(showBackIcon: false) : /* need add feedback page */ HealthCalculatorsPage(type: HealthCalConEnum.calculator),
|
|
|
|
|
SizedBox(),
|
|
|
|
|
// const ToDoPage(),
|
|
|
|
|
// appState.isAuthenticated ? UserInfoSelectionScreen() : /* need add news page */ SizedBox(),
|
|
|
|
|
|