From cb7de63a3fd071d4fb9f26d1983f72a38eb95ac3 Mon Sep 17 00:00:00 2001 From: Amir Panahandeh Date: Sat, 22 Jul 2023 09:26:26 +0330 Subject: [PATCH] Fix Assertion failure during setting up router --- examples/app/lib/main.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/app/lib/main.dart b/examples/app/lib/main.dart index aca8176b..05f77b34 100644 --- a/examples/app/lib/main.dart +++ b/examples/app/lib/main.dart @@ -36,8 +36,7 @@ class MyApp extends StatelessWidget { primarySwatch: Colors.amber, typography: Typography.material2018(), ), - routeInformationParser: _router.routeInformationParser, - routerDelegate: _router.routerDelegate, + routerConfig: _router, ), ); }