Initial version of the descriptions and Locations provider

This commit is contained in:
zontreck 2025-03-25 22:22:41 -07:00
parent e5901e62bb
commit 18641d5606
7 changed files with 604 additions and 60 deletions

View file

@ -6,6 +6,7 @@ import 'package:pokedex/filters.dart';
import 'package:pokedex/pokemon.dart';
class SessionData {
static bool enableDescription = true;
static bool darkMode = false;
static int highest = 9;
static int _cachedHighest = -1;
@ -65,7 +66,7 @@ class SessionData {
List<Widget> tmpWidgets = [];
int i = 0;
int end = Constants.isMobile ? 3 : 4;
int end = 3;
for (var digit in ALPHABET) {
tmpWidgets.add(
Image.asset("assets/sprites/unown-${digit.toLowerCase()}.png"),