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
Hitalo de Jesus do Rosário Souza
2021-02-11 13:45:59 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2021-02-11 13:45:59 -0300
Commit
1635aba76ddefbd17bd2a5a9a07facb14a97baa0
1635aba7
1 parent
ca1b1852
indent
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
lib/get_navigation/src/extension_navigation.dart
lib/get_navigation/src/extension_navigation.dart
View file @
1635aba
...
...
@@ -544,11 +544,11 @@ extension GetNavigation on GetInterface {
bool
preventDuplicates
=
true
,
})
{
Get
.
parameters
.
forEach
((
key
,
value
)
{
if
(
page
.
contains
(
'?'
)){
if
(
page
.
contains
(
'?'
))
{
page
=
page
+
"&
$key
=
$value
"
;
}
else
{
}
else
{
page
=
page
+
"?
$key
=
$value
"
;
}
;
}
});
if
(
preventDuplicates
&&
page
==
currentRoute
)
{
return
null
;
...
...
Please
register
or
login
to post a comment