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
Jonatas
2021-02-26 15:03:55 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5fda2d007a433fa9c2247489371bb3f2a6bf83f8
5fda2d00
1 parent
ea47e531
update to 3.25.5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 deletions
CHANGELOG.md
lib/get_navigation/src/extension_navigation.dart
lib/get_navigation/src/routes/observers/route_observer.dart
pubspec.yaml
CHANGELOG.md
View file @
5fda2d0
## [3.25.5]
-
Fix Get.isDialogOpen when two or more open dialogs are closed
## [3.25.4]
-
Added logs and tests to unknownRoute
...
...
lib/get_navigation/src/extension_navigation.dart
View file @
5fda2d0
...
...
@@ -1092,7 +1092,13 @@ Since version 2.8 it is possible to access the properties
BuildContext
get
context
=>
key
?.
currentContext
;
/// give access to current Overlay Context
BuildContext
get
overlayContext
=>
key
?.
currentState
?.
overlay
?.
context
;
BuildContext
get
overlayContext
{
BuildContext
overlay
;
key
?.
currentState
?.
overlay
?.
context
?.
visitChildElements
((
element
)
{
overlay
=
element
;
});
return
overlay
;
}
/// give access to Theme.of(context)
ThemeData
get
theme
{
...
...
lib/get_navigation/src/routes/observers/route_observer.dart
View file @
5fda2d0
...
...
@@ -156,12 +156,13 @@ class GetObserver extends NavigatorObserver {
value
.
isBack
=
true
;
value
.
removed
=
''
;
value
.
previous
=
newRoute
.
name
??
''
;
value
.
isSnackbar
=
currentRoute
.
isSnackbar
?
false
:
value
.
isSnackbar
;
value
.
isBottomSheet
=
currentRoute
.
isBottomSheet
?
false
:
value
.
isBottomSheet
;
value
.
isDialog
=
currentRoute
.
isDialog
?
false
:
value
.
isDialog
;
value
.
isSnackbar
=
newRoute
.
isSnackbar
;
value
.
isBottomSheet
=
newRoute
.
isBottomSheet
;
value
.
isDialog
=
newRoute
.
isDialog
;
});
print
(
'currentRoute.isDialog
${currentRoute.isDialog}
'
);
routing
?.
call
(
_routeSend
);
}
...
...
pubspec.yaml
View file @
5fda2d0
name
:
get
description
:
Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX.
version
:
3.25.
4
version
:
3.25.
5
homepage
:
https://github.com/jonataslaw/getx
environment
:
...
...
Please
register
or
login
to post a comment