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
Olajide Afeez
2020-08-08 21:31:29 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d208a613833948b44c1839175b084d40ca29dae1
d208a613
1 parent
b312ca0d
Add tag name to initDependencies
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
lib/src/instance/get_instance.dart
lib/src/instance/get_instance.dart
View file @
d208a61
...
...
@@ -164,7 +164,7 @@ class GetInstance {
throw
"class
${S.toString()}
with tag '
$tag
' is not register"
;
}
}
initDependencies
<
S
>();
initDependencies
<
S
>(
name:
tag
);
return
GetConfig
.
_singl
[
key
].
getSependency
()
as
S
;
}
else
{
...
...
@@ -175,7 +175,7 @@ class GetInstance {
print
(
'[GETX]
$S
instance was created at that time'
);
S
_value
=
put
<
S
>(
GetConfig
.
_factory
[
key
].
builder
()
as
S
);
initDependencies
<
S
>();
initDependencies
<
S
>(
name:
tag
);
if
(
GetConfig
.
smartManagement
!=
SmartManagement
.
keepFactory
&&
!
GetConfig
.
_factory
[
key
].
fenix
)
{
...
...
Please
register
or
login
to post a comment