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, ), ); }