Committed by
GitHub
Merge pull request #629 from dafinoer/doc
update readme
Showing
1 changed file
with
7 additions
and
0 deletions
| @@ -226,6 +226,13 @@ Navigate to new screen: | @@ -226,6 +226,13 @@ Navigate to new screen: | ||
| 226 | Get.to(NextScreen()); | 226 | Get.to(NextScreen()); | 
| 227 | ``` | 227 | ``` | 
| 228 | 228 | ||
| 229 | +Navigate to new screen with name. See more details on named routes [here](./documentation/en_US/route_management.md#navigation-with-named-routes) | ||
| 230 | + | ||
| 231 | +```dart | ||
| 232 | + | ||
| 233 | +Get.toNamed('/details'); | ||
| 234 | +``` | ||
| 235 | + | ||
| 229 | To close snackbars, dialogs, bottomsheets, or anything you would normally close with Navigator.pop(context); | 236 | To close snackbars, dialogs, bottomsheets, or anything you would normally close with Navigator.pop(context); | 
| 230 | 237 | ||
| 231 | ```dart | 238 | ```dart | 
- 
Please register or login to post a comment