feat: add steak

This commit is contained in:
2026-07-07 21:07:42 +03:30
parent 5424695f25
commit 0bd2b4a18a
4 changed files with 347 additions and 37 deletions
@@ -12,6 +12,10 @@ class WalletEntity {
final String selectedCarpet;
final String name;
final String avatar;
final int dailyStreak; // روزهای پیاپیِ دریافتِ سکه‌ی روزانه
final int bestStreak;
final bool dailyReady; // آیا امروز سکه‌ی روزانه قابلِ دریافت است
final int nextDaily; // جایزه‌ی روزانه‌ی بعدی
const WalletEntity({
required this.coins,
@@ -26,5 +30,9 @@ class WalletEntity {
required this.selectedCarpet,
required this.name,
required this.avatar,
this.dailyStreak = 0,
this.bestStreak = 0,
this.dailyReady = true,
this.nextDaily = 200,
});
}