[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](https://github.com/flutter/flutter/issues/151961)
This commit is contained in:
Andrea De Luca
2024-07-19 01:06:22 +02:00
committed by GitHub
parent 02db2f9c1e
commit 1d37e258db

View File

@ -31,7 +31,7 @@ An example to demonstrate how to use redirect to handle a synchronous sign-in fl
An example to demonstrate how to use handle a sign-in flow with a stream authentication service. An example to demonstrate how to use handle a sign-in flow with a stream authentication service.
## [Stateful Nested Navigation](https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/stateful_shell_route.dart) ## [Stateful Nested Navigation](https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/stateful_shell_route.dart)
`flutter run lib/stacked_shell_route.dart` `flutter run lib/stateful_shell_route.dart`
An example to demonstrate how to use a `StatefulShellRoute` to create stateful nested navigation, with a An example to demonstrate how to use a `StatefulShellRoute` to create stateful nested navigation, with a
`BottomNavigationBar`. `BottomNavigationBar`.