Erweiterungen

This commit is contained in:
Sven committed 2024-08-08 09:51:15 +02:00
1 parent 6981cfbf8a
commit 7a681ddcc6
7 files changed
+52 -12

No files matched your search

+3
View File
@@ -71,6 +71,8 @@ void _traceUncaughtExceptions(Object error, StackTrace stackTrace) {
class MyApp extends StatefulWidget {
MyApp({super.key});
static final appNavigatorKey = GlobalKey<NavigatorState>();
static late Isar isarInstance;
static Position? currentPosition;
@@ -93,6 +95,7 @@ class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
navigatorKey: MyApp.appNavigatorKey,
title: 'Stadtbote',
theme: ThemeData(
primarySwatch: Colors.blue,