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
Eduardo Florence
2020-12-09 19:54:41 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
237730a672986d82ed5d3933f918dda900726232
237730a6
1 parent
a69c21c8
Returning with testMode
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/get_navigation/src/extension_navigation.dart
lib/get_navigation/src/extension_navigation.dart
View file @
237730a
...
...
@@ -976,7 +976,7 @@ extension GetNavigation on GetInterface {
_key
=
keys
[
k
];
}
if
(
_key
.
currentContext
==
null
)
{
if
(
_key
.
currentContext
==
null
&&
!
testMode
)
{
throw
"""You are trying to use contextless navigation without
a GetMaterialApp or Get.key.
If you are testing your app, you can use:
...
...
Please
register
or
login
to post a comment