You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.3 KiB
Dart
44 lines
1.3 KiB
Dart
import 'package:doctor_app_flutter/screens/settings/settings_screen.dart';
|
|
|
|
import './screens/QR_reader_screen.dart';
|
|
import './screens/auth/login_screen.dart';
|
|
import './screens/blood_bank_screen.dart';
|
|
import './screens/doctor_reply_screen.dart';
|
|
import './screens/home_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_list_screen.dart';
|
|
|
|
const String HOME = '/';
|
|
const String LOGIN = 'login';
|
|
const String INIT_ROUTE = LOGIN;
|
|
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:(_)=>HomeScreen(),
|
|
INIT_ROUTE:(_)=>Loginsreen(),
|
|
MY_SCHEDULE:(_)=>MyScheduleScreen(),
|
|
PATIENT_SEARCH:(_)=>PatientSearchScreen(),
|
|
PATIENTS:(_)=>PatientsListScreen(),
|
|
QR_READER:(_)=>QrReaderScreen(),
|
|
BLOOD_BANK:(_)=>BloodBankScreen(),
|
|
DOCTOR_REPLY:(_)=>DoctorReplyScreen(),
|
|
MEDICINE_SEARCH:(_)=>MedicineSearchScreen(),
|
|
SETTINGS:(_)=>SettingsScreen()
|
|
|
|
|
|
|
|
};
|