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
Ahmed Fwela
2021-10-07 17:39:26 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
00deb54633f5e07078f46e7eb05df692a29045b9
00deb546
1 parent
e396d0f8
change default pop mode
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
lib/get_navigation/src/nav2/get_router_delegate.dart
lib/get_navigation/src/nav2/get_router_delegate.dart
View file @
00deb54
...
...
@@ -356,7 +356,7 @@ class GetDelegate extends RouterDelegate<GetNavConfig>
/// DOES NOT remove the [fullRoute]
Future
<
void
>
backUntil
(
String
fullRoute
,
{
PopMode
popMode
=
PopMode
.
Page
,
PopMode
popMode
=
PopMode
.
History
,
})
async
{
// remove history or page entries until you meet route
var
iterator
=
currentConfiguration
;
...
...
@@ -387,7 +387,7 @@ class GetDelegate extends RouterDelegate<GetNavConfig>
@override
Future
<
bool
>
popRoute
({
Object
?
result
,
PopMode
popMode
=
PopMode
.
Page
,
PopMode
popMode
=
PopMode
.
History
,
})
async
{
//Returning false will cause the entire app to be popped.
final
wasPopup
=
await
handlePopupRoutes
(
result:
result
);
...
...
Please
register
or
login
to post a comment