Fix Assertion failure during setting up router

This commit is contained in:
Amir Panahandeh 2023-07-22 09:26:26 +03:30 committed by GitHub
parent cc83a58d89
commit cb7de63a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -36,8 +36,7 @@ class MyApp extends StatelessWidget {
primarySwatch: Colors.amber,
typography: Typography.material2018(),
),
routeInformationParser: _router.routeInformationParser,
routerDelegate: _router.routerDelegate,
routerConfig: _router,
),
);
}