Skip to content

Commit 35ffc92

Browse files
committed
[go_router_builder] Fix typo in README.md
1 parent d03b1b4 commit 35ffc92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/go_router_builder/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ a return value. The generated routes also follow this functionality.
169169

170170
```dart
171171
void _tap() async {
172-
final result = await PersonRoute(pid: 'p1').go(context);
172+
final result = await PersonRoute(pid: 'p1').push(context);
173173
}
174174
```
175175

@@ -384,4 +384,4 @@ An example is available [here](https://github.com/flutter/packages/blob/main/pac
384384

385385
To run unit tests, run command `dart tool/run_tests.dart` from `packages/go_router_builder/`.
386386

387-
To run tests in examples, run `flutter test` from `packages/go_router_builder/example`.
387+
To run tests in examples, run `flutter test` from `packages/go_router_builder/example`.

0 commit comments

Comments
 (0)