Skip to content

Commit 1d37e25

Browse files
authored
[go_router] docs: fix flutter run command for Stateful Nested Navigation (#7158)
There was a typo or out-of-date reference to a dart file in the go router example of Stateful Nested Navigation. This PR fix the name of the file in the `flutter run` command. Resolve [issue 151961](flutter/flutter#151961)
1 parent 02db2f9 commit 1d37e25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/go_router/example/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ An example to demonstrate how to use redirect to handle a synchronous sign-in fl
3131
An example to demonstrate how to use handle a sign-in flow with a stream authentication service.
3232

3333
## [Stateful Nested Navigation](https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/stateful_shell_route.dart)
34-
`flutter run lib/stacked_shell_route.dart`
34+
`flutter run lib/stateful_shell_route.dart`
3535

3636
An example to demonstrate how to use a `StatefulShellRoute` to create stateful nested navigation, with a
3737
`BottomNavigationBar`.
@@ -49,4 +49,4 @@ An example to demonstrate how to use a complex object as extra.
4949
## [Books app](https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/books)
5050
`flutter run lib/books/main.dart`
5151

52-
A fully fledged example that showcases various go_router APIs.
52+
A fully fledged example that showcases various go_router APIs.

0 commit comments

Comments
 (0)