gamification_ui 0.0.1
gamification_ui: ^0.0.1 copied to clipboard
Headless gamification UI components for Flutter: achievements, streaks, points, and leaderboards. Bring your own state — no storage, no logic, just widgets.
0.0.1 #
Initial release: 17 headless components across four families, plus celebration primitives. Widgets only — no storage, no network, no game logic.
Achievement #
AchievementBadge(+fromAchievement) — circular badge with locked/unlocked states and progress ringAchievementBadgeGrid— tappable badge grid with titlesAchievementUnlockToast+showAchievementUnlockToast— slide-in unlock celebrationAchievementProgressCard— badge, description, and animated progress barAchievementDetailSheet+showAchievementDetailSheet— modal detail view
Streak #
StreakFlameCounter— pulsing flame with streak countStreakWeeklyCalendar— seven-day completion rowStreakMilestoneBar— progress between streak milestones
Points #
AnimatedPointsCounter— rolling numberPointsBalanceChip— wallet pill for app barsXpBar— animated XP progress barLevelCard— level circle + XP bar cardPointsHistoryList/PointsHistoryTile— signed transaction historyTierBadge— bronze → diamond metallic tiers
Leaderboard #
LeaderboardList— medal colors for top three, current-user highlightLeaderboardPodium— top-three podiumRankChangeIndicator— ▲/▼/– rank movement
Foundation #
GamificationTheme—ThemeExtensionpalette withColorScheme-derived defaultsConfettiOverlay+ConfettiController,Shine,Pulse— celebration primitives- Plain data models:
Achievement,PointsTransaction,LeaderboardEntry,Tier