Initial version of the descriptions and Locations provider
This commit is contained in:
parent
e5901e62bb
commit
18641d5606
7 changed files with 604 additions and 60 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue