saving refactorings

This commit is contained in:
Lucas Oskorep
2023-01-29 00:39:03 -05:00
parent 342e567736
commit f2e7527929
13 changed files with 17328 additions and 249 deletions
+13
View File
@@ -0,0 +1,13 @@
import 'dart:io';
import 'package:hive_flutter/adapters.dart';
import 'db/tables/poke_db.dart';
const pokeBoxName = 'pokes';
Future setupHive() async {
await Hive.initFlutter();
Hive.registerAdapter(PokeAdapter());
await Hive.openBox(pokeBoxName);
}