Skip to content

Commit

Permalink
Fix. Support routerConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
bisor0627 committed Jul 4, 2023
1 parent 158a6c5 commit 763e4bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/go_router_builder/example/lib/all_types.dart
Original file line number Diff line number Diff line change
Expand Up @@ -550,9 +550,7 @@ class AllTypesApp extends StatelessWidget {

@override
Widget build(BuildContext context) => MaterialApp.router(
routeInformationParser: _router.routeInformationParser,
routerDelegate: _router.routerDelegate,
routeInformationProvider: _router.routeInformationProvider,
routerConfig: _router,
);

late final GoRouter _router = GoRouter(
Expand Down

0 comments on commit 763e4bd

Please sign in to comment.