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-12-09 21:16:28 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2020-12-09 21:16:28 -0300
Commit
9bf01df1c446d4364a55257999e6523c06217031
9bf01df1
2 parents
a69c21c8
237730a6
Merge pull request #887 from eduardoflorence/add-testmode
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 @
9bf01df
...
...
@@ -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