Achievements#3
Merged
Merged
Conversation
…nents - Added AchievementsEvent and AchievementsState classes for managing achievements logic. - Created AchievementPage with a responsive AppBar and layout for displaying achievements. - Introduced AchievementOverlay for displaying achievement notifications. - Developed AchievementWidget to visually represent achievements with animations. - Integrated achievements tracking in QuizSummary and QuizSummaryStats, triggering achievement checks based on user performance. - Added localization strings for various achievement titles and descriptions. - Updated main screen to include AchievementPage in navigation. - Introduced enums for AchievementCategory and AchievementLevel to categorize achievements. - Enhanced Helpers utility to show achievement dialogs.
…and UI components
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive achievements feature to the app, including data models, business logic, UI components, and dependency injection setup. The changes enable tracking and unlocking of achievements based on user activity, and provide a dedicated achievements page with a responsive and themed UI.
Achievements Feature Implementation
Achievementmodel and enums to represent different categories and levels of achievements.achievements_list.dart. (F74d72aR1)Business Logic and State Management
AchievementsBlocusingHydratedBlocto manage achievement unlocking logic based on quiz activity, correct answers, levels, and quiz time, with persistence support.CheckAchievements) and state (AchievementsState) classes for the achievements bloc, including serialization logic for state persistence. [1] [2]UI Integration and Dependency Injection
AchievementsBlocin the dependency injection setup (lib/di.dart) for global access. [1] [2]AchievementPagewith a themed app bar, responsive layout, and integration of achievements content, level card, and theme toggle button.