|
|
|
|
@ -1,4 +1,6 @@
|
|
|
|
|
|
|
|
|
|
import 'package:doctor_app_flutter/screens/patients/patient_profile_screen.dart';
|
|
|
|
|
|
|
|
|
|
import './screens/QR_reader_screen.dart';
|
|
|
|
|
import './screens/auth/change_password_screen.dart';
|
|
|
|
|
import './screens/auth/login_screen.dart';
|
|
|
|
|
@ -13,7 +15,7 @@ import './screens/patients/patient_search_screen.dart';
|
|
|
|
|
import './screens/patients/patients_screen.dart';
|
|
|
|
|
import './screens/settings/settings_screen.dart';
|
|
|
|
|
|
|
|
|
|
const String INIT_ROUTE = LOGIN;
|
|
|
|
|
const String INIT_ROUTE = PATIENTS;
|
|
|
|
|
const String HOME = '/';
|
|
|
|
|
const String LOGIN = 'login';
|
|
|
|
|
const String CHANGE_PASSWORD = 'change-password';
|
|
|
|
|
@ -23,15 +25,15 @@ const String MY_SCHEDULE = 'my-schedule';
|
|
|
|
|
const String QR_READER = 'qr-reader';
|
|
|
|
|
const String PATIENT_SEARCH = 'patients/patient-search';
|
|
|
|
|
const String PATIENTS = 'patients/patients';
|
|
|
|
|
const String PATIENTS_PROFILE = 'patients/patients-profile';
|
|
|
|
|
const String BLOOD_BANK = 'blood-bank';
|
|
|
|
|
const String DOCTOR_REPLY = 'doctor-reply';
|
|
|
|
|
const String MEDICINE_SEARCH = 'medicine-search';
|
|
|
|
|
const String SETTINGS = 'settings';
|
|
|
|
|
const LOADER ='loader';
|
|
|
|
|
|
|
|
|
|
var routes = {
|
|
|
|
|
HOME: (_) => DashboardScreen(),
|
|
|
|
|
INIT_ROUTE: (_) => Loginsreen(),
|
|
|
|
|
LOGIN: (_) => Loginsreen(),
|
|
|
|
|
MY_SCHEDULE: (_) => MyScheduleScreen(),
|
|
|
|
|
PATIENT_SEARCH: (_) => PatientSearchScreen(),
|
|
|
|
|
PATIENTS: (_) => PatientsScreen(),
|
|
|
|
|
@ -43,4 +45,5 @@ var routes = {
|
|
|
|
|
CHANGE_PASSWORD: (_) => ChangePasswordScreen(),
|
|
|
|
|
VERIFY_ACCOUNT: (_) => VerifyAccountScreen(),
|
|
|
|
|
VERIFICATION_METHODS:(_)=> VerificationMethodsScreen(),
|
|
|
|
|
PATIENTS_PROFILE:(_)=> PatientProfile()
|
|
|
|
|
};
|
|
|
|
|
|