|
|
|
import './screens/QR_reader_screen.dart';
|
|
|
|
import './screens/auth/change_password_screen.dart';
|
|
|
|
import './screens/auth/login_screen.dart';
|
|
|
|
import './screens/auth/verification_methods_screen.dart';
|
|
|
|
import './screens/auth/verify_account_screen.dart';
|
|
|
|
import './screens/blood_bank_screen.dart';
|
|
|
|
import './screens/doctor_reply_screen.dart';
|
|
|
|
import './screens/dashboard_screen.dart';
|
|
|
|
import './screens/medicine/medicine_search_screen.dart';
|
|
|
|
import './screens/my_schedule_screen.dart';
|
|
|
|
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 HOME = '/';
|
|
|
|
const String LOGIN = 'login';
|
|
|
|
const String CHANGE_PASSWORD = 'change-password';
|
|
|
|
const String VERIFY_ACCOUNT = 'verify-account';
|
|
|
|
const String VERIFICATION_METHODS ='verification-methods';
|
|
|
|
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 BLOOD_BANK = 'blood-bank';
|
|
|
|
const String DOCTOR_REPLY = 'doctor-reply';
|
|
|
|
const String MEDICINE_SEARCH = 'medicine-search';
|
|
|
|
const String SETTINGS = 'settings';
|
|
|
|
|
|
|
|
var routes = {
|
|
|
|
HOME: (_) => DashboardScreen(),
|
|
|
|
INIT_ROUTE: (_) => Loginsreen(),
|
|
|
|
MY_SCHEDULE: (_) => MyScheduleScreen(),
|
|
|
|
PATIENT_SEARCH: (_) => PatientSearchScreen(),
|
|
|
|
PATIENTS: (_) => PatientsScreen(),
|
|
|
|
QR_READER: (_) => QrReaderScreen(),
|
|
|
|
BLOOD_BANK: (_) => BloodBankScreen(),
|
|
|
|
DOCTOR_REPLY: (_) => DoctorReplyScreen(),
|
|
|
|
MEDICINE_SEARCH: (_) => MedicineSearchScreen(),
|
|
|
|
SETTINGS: (_) => SettingsScreen(),
|
|
|
|
CHANGE_PASSWORD: (_) => ChangePasswordScreen(),
|
|
|
|
VERIFY_ACCOUNT: (_) => VerifyAccountScreen(),
|
|
|
|
VERIFICATION_METHODS:(_)=> VerificationMethodsScreen(),
|
|
|
|
};
|