|
|
|
@ -1,4 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:doctor_app_flutter/screens/profile_screen.dart';
|
|
|
|
|
|
|
|
|
|
|
|
import './screens/QR_reader_screen.dart';
|
|
|
|
import './screens/QR_reader_screen.dart';
|
|
|
|
import './screens/auth/change_password_screen.dart';
|
|
|
|
import './screens/auth/change_password_screen.dart';
|
|
|
|
import './screens/auth/login_screen.dart';
|
|
|
|
import './screens/auth/login_screen.dart';
|
|
|
|
@ -13,10 +15,13 @@ import './screens/patients/patient_profile_screen.dart';
|
|
|
|
import './screens/patients/patient_search_screen.dart';
|
|
|
|
import './screens/patients/patient_search_screen.dart';
|
|
|
|
import './screens/patients/patients_screen.dart';
|
|
|
|
import './screens/patients/patients_screen.dart';
|
|
|
|
import './screens/settings/settings_screen.dart';
|
|
|
|
import './screens/settings/settings_screen.dart';
|
|
|
|
|
|
|
|
import './screens/profile_screen.dart';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const String INIT_ROUTE = LOGIN;
|
|
|
|
const String INIT_ROUTE = LOGIN;
|
|
|
|
const String HOME = '/';
|
|
|
|
const String HOME = '/';
|
|
|
|
const String LOGIN = 'login';
|
|
|
|
const String LOGIN = 'login';
|
|
|
|
|
|
|
|
const String PROFILE = 'profile';
|
|
|
|
const String CHANGE_PASSWORD = 'change-password';
|
|
|
|
const String CHANGE_PASSWORD = 'change-password';
|
|
|
|
const String VERIFY_ACCOUNT = 'verify-account';
|
|
|
|
const String VERIFY_ACCOUNT = 'verify-account';
|
|
|
|
const String VERIFICATION_METHODS ='verification-methods';
|
|
|
|
const String VERIFICATION_METHODS ='verification-methods';
|
|
|
|
@ -33,6 +38,7 @@ const String SETTINGS = 'settings';
|
|
|
|
var routes = {
|
|
|
|
var routes = {
|
|
|
|
HOME: (_) => DashboardScreen(),
|
|
|
|
HOME: (_) => DashboardScreen(),
|
|
|
|
LOGIN: (_) => Loginsreen(),
|
|
|
|
LOGIN: (_) => Loginsreen(),
|
|
|
|
|
|
|
|
PROFILE: (_) => ProfileScreen(),
|
|
|
|
MY_SCHEDULE: (_) => MyScheduleScreen(),
|
|
|
|
MY_SCHEDULE: (_) => MyScheduleScreen(),
|
|
|
|
PATIENT_SEARCH: (_) => PatientSearchScreen(),
|
|
|
|
PATIENT_SEARCH: (_) => PatientSearchScreen(),
|
|
|
|
PATIENTS: (_) => PatientsScreen(),
|
|
|
|
PATIENTS: (_) => PatientsScreen(),
|
|
|
|
|