iiitv / iiitv/DonorConnect-Debugathon
[Bug]: Implement Logout Functionality Using Cubit's State Management (profile_screen.dart)
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 1
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
The logout button in the Profile Screen in Appbar is not working currently kindly fix it.
### Expected behavior
Implementing this feature will allow users to log out of the application properly, enhancing user control and session management.
Implement the onPressed method to call the signOut function from AuthCubit and manage the logout state.Also,ensure that any state changes or navigation logic associated with signing out is handled smoothly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in profile_screen.dart at the AppBar logout button and inspect AuthCubit.signOut and its state handling. Run the app and reproduce the button behavior, then verify that signing out updates the state and performs any required navigation smoothly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100