update README

This commit is contained in:
Luke 2017-05-04 12:50:29 -07:00
parent 2980127657
commit 6149f42ce3
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ You can use the `Router` with the `MaterialApp.onGenerateRoute` parameter
the `onGenerate` parameter like: `onGenerateRoute: router.generator`.
You can then use `Navigator.push` and the flutter routing mechanism will match the routes
for you. You can also manually push to a route yourself. To do so:
for you.
You can also manually push to a route yourself. To do so:
```dart
router.navigateTo(context, "/users/1234");