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
Frank Moreno
2020-10-17 09:12:42 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f1c60b1299bd7bba4e68a2b8e723c9c33cbd2481
f1c60b12
1 parent
00271c35
Test updated removing the logic implemented inside GetLifeCycle
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
17 deletions
test/instance/get_instance_test.dart
test/instance/get_instance_test.dart
View file @
f1c60b1
...
...
@@ -11,23 +11,7 @@ class Mock {
class
DisposableController
with
GetLifeCycle
{
DisposableController
()
{
onStart
.
callback
=
_onStart
;
}
// Internal callback that starts the cycle of this controller.
void
_onStart
()
{
if
(
initialized
)
return
;
onInit
();
}
bool
initialized
=
false
;
bool
isClosed
=
false
;
@override
void
onInit
()
async
{
super
.
onInit
();
initialized
=
true
;
initLifeCycle
();
}
}
...
...
Please
register
or
login
to post a comment