VaibhavCodeClub / learn

Learning app for kids
MIT License
88 stars 83 forks source link

Created Favorite Page #196

Closed VITianLalit closed 3 months ago

VITianLalit commented 3 months ago
  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:

https://github.com/VaibhavCodeClub/learn/assets/98540540/ea4622a7-d6ee-4477-b5bf-b5edbfaf82e4

fixes Issue #194

VITianLalit commented 3 months ago

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