Feat: Fügt ensureInitialized zur main hinzu
This commit is contained in:
@@ -6,6 +6,8 @@ import 'Services/router_service.dart';
|
|||||||
import 'Services/theme_service.dart';
|
import 'Services/theme_service.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
|
|
||||||
runApp(
|
runApp(
|
||||||
MaterialApp.router(
|
MaterialApp.router(
|
||||||
routerDelegate: RoutemasterDelegate(
|
routerDelegate: RoutemasterDelegate(
|
||||||
|
|||||||
Reference in New Issue
Block a user