From 1d37e258db6e48df01d8c79f9a8e197dd00a5e1c Mon Sep 17 00:00:00 2001 From: Andrea De Luca <53230888+se09deluca@users.noreply.github.com> Date: Fri, 19 Jul 2024 01:06:22 +0200 Subject: [PATCH] [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) --- packages/go_router/example/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/go_router/example/README.md b/packages/go_router/example/README.md index cac540fa0f..0d552507e4 100644 --- a/packages/go_router/example/README.md +++ b/packages/go_router/example/README.md @@ -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. ## [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 `BottomNavigationBar`. @@ -49,4 +49,4 @@ An example to demonstrate how to use a complex object as extra. ## [Books app](https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/books) `flutter run lib/books/main.dart` -A fully fledged example that showcases various go_router APIs. \ No newline at end of file +A fully fledged example that showcases various go_router APIs.