This application is designed for managing patient information. The application allows users to log in, change their password, add new patients, and view a list of existing patients.
In this project, we used the following packages:
font_awesome_flutter: ^10.1.0
google_fonts: ^3.0.1
get: ^4.6.5
shared_preferences: ^2.0.15
The LoginPage allows users to log in to the application by providing their email and password. If the user is already logged in, they will be redirected to the HomePage.
- Email input field
- Password input field
- Login button
- User inputs their email and password.
- Upon clicking the "Log In" button, the input is validated, and the login process is initiated.
- If successful, the user is redirected to the HomePage.
The HomePage serves as the main navigation hub for the application. From here, the user can access the ChangePasswordPage, AddPatientPage, and PatientListPage.
This page allows the user to change their password. The user is required to input their old password, new password, and confirm the new password. Upon successful validation and password change, the user will be redirected to the HomePage.
- Old password input field
- New password input field
- Confirm new password input field
- Change password button
- User inputs the old password, new password, and confirm new password.
- Upon clicking the "Change Password" button, the input is validated, and the password change process is initiated.
- If successful, the user is redirected to the HomePage.
The AddPatientPage allows the user to add a new patient by providing the patient's information, such as name, age, weight, and disease. After successful submission, the user is redirected to the PatientListPage.
- Patient name input field
- Patient age input field
- Patient weight input field
- Patient disease input field
- Add patient button
- User inputs patient information (name, age, weight, disease).
- Upon clicking the "Add Patient" button, the input is validated, and the patient is added to the database.
- If successful, the user is redirected to the PatientListPage.
This page displays a list of patients, which can be filtered using the search bar. The user can also navigate to the AddPatientPage by clicking on a patient's card.
- Search bar for filtering patients
- List of patient cards
- Navigation to AddPatientPage
- User can search for a specific patient using the search bar.
- The list of patients will be filtered based on the search query.
- By clicking on a patient's card, the user is navigated to the AddPatientPage.