Jonny Borges
Committed by GitHub

Update README.md

... ... @@ -51,7 +51,7 @@ Get.off(NextScreen());
To go to the next screen and cancel all previous routes (useful in shopping carts, polls, and tests)
```dart
Get.offAll(NextScreen());
Get.offAll(NextScreen(), (Route<dynamic> route) => false));
```
### That's it, you've learned how to navigate between routes the default way.
... ... @@ -72,7 +72,7 @@ Get.offNamed("/NextScreen");
```
To navigate and remove all previous screens from the tree.
```dart
Get.offAllNamed("/NextScreen");
Get.offAllNamed("/NextScreen", (Route<dynamic> route) => false));
```
## Using with Named Routes and And offering full flutter_web support (REQUIRED FOR NAMED ROUTES):
... ...