setings and gen filter
This commit is contained in:
@@ -37,4 +37,20 @@ class AppConstants {
|
||||
|
||||
/// Clé SharedPreferences pour le meilleur score.
|
||||
static const String prefsBestScore = 'best_score';
|
||||
|
||||
/// Clé SharedPreferences pour le filtre de générations.
|
||||
static const String prefsGenFilter = 'gen_filter';
|
||||
|
||||
/// Plages d'IDs Pokémon par génération [min, max] (inclusif).
|
||||
static const List<(int, int)> genRanges = [
|
||||
(1, 151), // Gen 1
|
||||
(152, 251), // Gen 2
|
||||
(252, 386), // Gen 3
|
||||
(387, 493), // Gen 4
|
||||
(494, 649), // Gen 5
|
||||
(650, 721), // Gen 6
|
||||
(722, 809), // Gen 7
|
||||
(810, 905), // Gen 8
|
||||
(906, 1025), // Gen 9
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user