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
2021-07-30 18:54:10 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b8d9395c39b3d35fb850d53e234fe7eec5e0851f
b8d9395c
1 parent
36f92bfe
update to 4.3.3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
CHANGELOG.md
lib/get_instance/src/get_instance.dart
lib/get_navigation/src/router_report.dart
pubspec.yaml
CHANGELOG.md
View file @
b8d9395
## [4.3.3]
-
Fix Get.reset
## [4.3.2]
-
Fix nullable on internacionalization (@jmguillens)
-
Fix nullable on Rx.stream (@steven-spiel)
...
...
lib/get_instance/src/get_instance.dart
View file @
b8d9395
...
...
@@ -285,6 +285,7 @@ class GetInstance {
/// Clears all registered instances (and/or tags).
/// Even the persistent ones.
/// This should be used at the end or tearDown of unit tests.
///
/// [clearFactory] clears the callbacks registered by [lazyPut]
/// [clearRouteBindings] clears Instances associated with routes.
...
...
@@ -293,9 +294,10 @@ class GetInstance {
{
@deprecated
bool
clearFactory
=
true
,
@deprecated
bool
clearRouteBindings
=
true
})
{
// if (clearFactory) _factory.clear();
deleteAll
(
force:
true
);
// if (clearRouteBindings) clearRouteKeys();
// _singl.clear();
// deleteAll(force: true);
if
(
clearRouteBindings
)
RouterReportManager
.
clearRouteKeys
();
_singl
.
clear
();
return
true
;
}
...
...
lib/get_navigation/src/router_report.dart
View file @
b8d9395
...
...
@@ -32,7 +32,7 @@ class RouterReportManager<T> {
_routesKey
.
putIfAbsent
(
depedencyKey
,
()
=>
_current
);
}
void
clearRouteKeys
()
{
static
void
clearRouteKeys
()
{
_routesKey
.
clear
();
}
...
...
pubspec.yaml
View file @
b8d9395
name
:
get
description
:
Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX.
version
:
4.3.
2
version
:
4.3.
3
homepage
:
https://github.com/jonataslaw/getx
environment
:
...
...
Please
register
or
login
to post a comment