Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jonny Borges
2019-11-19 00:35:00 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2019-11-19 00:35:00 -0300
Commit
15654e63a110cbdb9abefe38c6945094995f9cfc
15654e63
1 parent
04b91350
Update README.md
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
README.md
README.md
View file @
15654e6
...
...
@@ -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):
...
...
Please
register
or
login
to post a comment