Skip to content

Commit a92e563

Browse files
committed
Update code excerpt so that excerpt test on GitHub will run. This breaks the exerpter pa
kage, though.
1 parent d3c9dd6 commit a92e563

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/ui/navigation/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ animations for the target platform. To navigate to a new screen, access the
2020
`Navigator` through the route's `BuildContext` and call imperative methods such
2121
as `push()` `or pop()`:
2222

23-
<?code-excerpt "examples/ui/navigation/lib/navigator_basic.dart (push-route)"?>
23+
<?code-excerpt "ui/navigation/lib/navigator_basic.dart (push-route)"?>
2424
```dart
2525
child: const Text('Open second screen'),
2626
onPressed: () {
@@ -48,7 +48,7 @@ Applications with simple navigation and deep linking requirements can use the
4848
`Navigator` for navigation and the [`MaterialApp.routes`][] parameter for deep
4949
links:
5050

51-
<?code-excerpt "examples/ui/navigation/lib/navigator_named_routes.dart (push-route)"?>
51+
<?code-excerpt "ui/navigation/lib/navigator_named_routes.dart (push-route)"?>
5252
```dart
5353
child: const Text('Open second screen'),
5454
onPressed: () {
@@ -83,7 +83,7 @@ To use the Router, switch to the `router` constructor on `MaterialApp` or
8383
such as [go_router][], typically provide a
8484
configuration for you. For example:
8585

86-
<?code-excerpt "examples/ui/navigation/lib/navigator_router.dart (push-route)"?>
86+
<?code-excerpt "ui/navigation/lib/navigator_router.dart (push-route)"?>
8787
```dart
8888
child: const Text('Open second screen'),
8989
onPressed: () => context.go('/second'),

0 commit comments

Comments
 (0)