Showing
4 changed files
with
7 additions
and
2 deletions
@@ -73,7 +73,7 @@ packages: | @@ -73,7 +73,7 @@ packages: | ||
73 | path: ".." | 73 | path: ".." |
74 | relative: true | 74 | relative: true |
75 | source: path | 75 | source: path |
76 | - version: "3.6.0" | 76 | + version: "3.6.3" |
77 | http_parser: | 77 | http_parser: |
78 | dependency: transitive | 78 | dependency: transitive |
79 | description: | 79 | description: |
@@ -175,10 +175,12 @@ class GetInstance { | @@ -175,10 +175,12 @@ class GetInstance { | ||
175 | final key = _getKey(S, tag); | 175 | final key = _getKey(S, tag); |
176 | final i = _singl[key].getDependency(); | 176 | final i = _singl[key].getDependency(); |
177 | if (i is DisposableInterface) { | 177 | if (i is DisposableInterface) { |
178 | + if (i.onStart != null) { | ||
178 | i.onStart(); | 179 | i.onStart(); |
179 | GetConfig.log('"$key" has been initialized'); | 180 | GetConfig.log('"$key" has been initialized'); |
180 | } | 181 | } |
181 | } | 182 | } |
183 | + } | ||
182 | 184 | ||
183 | // S putOrFind<S>(S Function() dep, {String tag}) { | 185 | // S putOrFind<S>(S Function() dep, {String tag}) { |
184 | // final key = _getKey(S, tag); | 186 | // final key = _getKey(S, tag); |
1 | name: get | 1 | name: get |
2 | description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX. | 2 | description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX. |
3 | -version: 3.6.2 | 3 | +version: 3.6.3 |
4 | homepage: https://github.com/jonataslaw/get | 4 | homepage: https://github.com/jonataslaw/get |
5 | 5 | ||
6 | environment: | 6 | environment: |
-
Please register or login to post a comment