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
2020-08-29 10:16:00 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2020-08-29 10:16:00 -0300
Commit
484d99fd3c1bcb6ef81275505909e0d91924d1ba
484d99fd
2 parents
445ba721
7e209fb7
Merge pull request #526 from unacorbatanegra/master
Simple bool notation
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
lib/src/navigation/extension_navigation.dart
lib/src/navigation/extension_navigation.dart
View file @
484d99f
...
...
@@ -87,7 +87,7 @@ extension GetNavigation on GetInterface {
String
page
,
{
Object
arguments
,
int
id
,
preventDuplicates
=
true
,
bool
preventDuplicates
=
true
,
})
{
if
(
preventDuplicates
&&
page
==
currentRoute
)
{
return
null
;
...
...
@@ -113,7 +113,7 @@ extension GetNavigation on GetInterface {
String
page
,
{
Object
arguments
,
int
id
,
preventDuplicates
=
true
,
bool
preventDuplicates
=
true
,
})
{
if
(
preventDuplicates
&&
page
==
currentRoute
)
{
return
null
;
...
...
@@ -318,7 +318,7 @@ extension GetNavigation on GetInterface {
Object
arguments
,
Bindings
binding
,
bool
fullscreenDialog
=
false
,
preventDuplicates
=
true
,
bool
preventDuplicates
=
true
,
Duration
duration
,
})
{
String
routename
=
"/
${page.runtimeType.toString()}
"
;
...
...
Please
register
or
login
to post a comment