Skip to content

feat: Adds realtime data of doctors in patient screen

R Adithya Kumar requested to merge SilentCruzer/mental-health:issue-42 into main
Closes: #42 (closed)
Changes:
  • Main changes in files lib/screens/patient_dashboard/doctor_appointment/screens/detail_screen.dart and lib/screens/patient_dashboard/doctor_appointment/screens/home_screen.dart. Replaced the hardcoded data with the data from the firestore.
  • Created a model named DoctorModel to store the doctor's info.
  • Also added a type parameter in the updateUserData() function, to assign the role of doctor/patient when registering, so it will make it easier to distinguish the doctor and patient accounts.
Changes video:

file

Merge request reports