Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -16,7 +16,7 @@ Add this to your package's pubspec.yaml file: | @@ -16,7 +16,7 @@ Add this to your package's pubspec.yaml file: | ||
| 16 | 16 | ||
| 17 | ``` | 17 | ``` |
| 18 | dependencies: | 18 | dependencies: |
| 19 | - get: ^1.3.0 | 19 | + get: ^1.3.2 |
| 20 | ``` | 20 | ``` |
| 21 | 21 | ||
| 22 | And import it: | 22 | And import it: |
| @@ -51,7 +51,7 @@ Get.off(NextScreen()); | @@ -51,7 +51,7 @@ Get.off(NextScreen()); | ||
| 51 | To go to the next screen and cancel all previous routes (useful in shopping carts, polls, and tests) | 51 | To go to the next screen and cancel all previous routes (useful in shopping carts, polls, and tests) |
| 52 | 52 | ||
| 53 | ```dart | 53 | ```dart |
| 54 | -Get.offAll(NextScreen(), (Route<dynamic> route) => false)); | 54 | +Get.offAll(NextScreen(), (route) => false)); |
| 55 | ``` | 55 | ``` |
| 56 | 56 | ||
| 57 | ### That's it, you've learned how to navigate between routes the default way. | 57 | ### That's it, you've learned how to navigate between routes the default way. |
| @@ -72,7 +72,7 @@ Get.offNamed("/NextScreen"); | @@ -72,7 +72,7 @@ Get.offNamed("/NextScreen"); | ||
| 72 | ``` | 72 | ``` |
| 73 | To navigate and remove all previous screens from the tree. | 73 | To navigate and remove all previous screens from the tree. |
| 74 | ```dart | 74 | ```dart |
| 75 | -Get.offAllNamed("/NextScreen", (Route<dynamic> route) => false)); | 75 | +Get.offAllNamed("/NextScreen", (route) => false)); |
| 76 | ``` | 76 | ``` |
| 77 | 77 | ||
| 78 | ## Using with Named Routes and And offering full flutter_web support (REQUIRED FOR NAMED ROUTES): | 78 | ## Using with Named Routes and And offering full flutter_web support (REQUIRED FOR NAMED ROUTES): |
-
Please register or login to post a comment