quest_gamification 0.1.0
quest_gamification: ^0.1.0 copied to clipboard
RPG-style gamification engine for Flutter apps. XP, levels, badges, streaks, and streak shields out of the box.
0.1.0 #
- Initial release
GamificationEngine: unified entry point for XP, streak, and badge processing in a singlerecordEvent()callXpEngine: XP award and level-up detection withfixedandlinearlevel formulasStreakEngine: daily streak tracking with streak shield system (earn a shield every N days, consumes on missed day)BadgeEngine: condition-based badge evaluation; add badges as data without modifying engine codeQuestConfig: injectable configuration with preset factories (fitness,sleep,mental,corporate)UserProgress: immutable state model withcopyWith,toMap/fromMapserialization- Storage adapters:
FirestoreProgressAdapter(callback design),HiveProgressAdapter,InMemoryProgressRepository - UI widgets:
QuestXpBar,QuestLevelCard,QuestStreakCard,QuestBadgeGrid,QuestAchievementToast