Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created Favorite Page #196

Merged

Conversation

VITianLalit
Copy link
Contributor

  1. Created Favorite Page:

    • Created favorite.dart file that displays items marked as favorites by the user.
  2. Integrating with Explore Page:

    • Modified the explore.dart file to allow users to select and mark items as favorites.
    • Added functionality to update the UI in real-time when items are marked/unmarked as favorites.
  3. State Management:

    • Implemented state management using the Provider package to handle the state of favorite items across the application.
  4. Local Storage:

    • Used shared_preferences to persist favorite items locally on the user's device. This ensures that favorite items are retained even after the app is closed and reopened.

Files Changed:

  • explore.dart
  • favorites.dart
  • main.dart
  • Additional necessary files for Provider setup and shared preferences integration.
favoritePageTask.mp4

fixes Issue #194

@VITianLalit
Copy link
Contributor Author

@sapatevaibhav , Pls review and merge changes, fixes issue #194

@sapatevaibhav sapatevaibhav merged commit 286264f into VaibhavCodeClub:master Jul 3, 2024
1 check passed
@sapatevaibhav sapatevaibhav added gssoc Girl Script Summer of Code level3 Complex to solve issues for GSSoC'24 labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc Girl Script Summer of Code level3 Complex to solve issues for GSSoC'24
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants