Committed by
GitHub
Merge pull request #526 from unacorbatanegra/master
Simple bool notation
Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -87,7 +87,7 @@ extension GetNavigation on GetInterface { | @@ -87,7 +87,7 @@ extension GetNavigation on GetInterface { | ||
| 87 | String page, { | 87 | String page, { |
| 88 | Object arguments, | 88 | Object arguments, |
| 89 | int id, | 89 | int id, |
| 90 | - preventDuplicates = true, | 90 | + bool preventDuplicates = true, |
| 91 | }) { | 91 | }) { |
| 92 | if (preventDuplicates && page == currentRoute) { | 92 | if (preventDuplicates && page == currentRoute) { |
| 93 | return null; | 93 | return null; |
| @@ -113,7 +113,7 @@ extension GetNavigation on GetInterface { | @@ -113,7 +113,7 @@ extension GetNavigation on GetInterface { | ||
| 113 | String page, { | 113 | String page, { |
| 114 | Object arguments, | 114 | Object arguments, |
| 115 | int id, | 115 | int id, |
| 116 | - preventDuplicates = true, | 116 | + bool preventDuplicates = true, |
| 117 | }) { | 117 | }) { |
| 118 | if (preventDuplicates && page == currentRoute) { | 118 | if (preventDuplicates && page == currentRoute) { |
| 119 | return null; | 119 | return null; |
| @@ -318,7 +318,7 @@ extension GetNavigation on GetInterface { | @@ -318,7 +318,7 @@ extension GetNavigation on GetInterface { | ||
| 318 | Object arguments, | 318 | Object arguments, |
| 319 | Bindings binding, | 319 | Bindings binding, |
| 320 | bool fullscreenDialog = false, | 320 | bool fullscreenDialog = false, |
| 321 | - preventDuplicates = true, | 321 | + bool preventDuplicates = true, |
| 322 | Duration duration, | 322 | Duration duration, |
| 323 | }) { | 323 | }) { |
| 324 | String routename = "/${page.runtimeType.toString()}"; | 324 | String routename = "/${page.runtimeType.toString()}"; |
-
Please register or login to post a comment