You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way (or planned) to close some specific scopes?
I'm opening scope for a stateful widget in initState method and closing the scope on dispose which allows precise DI management.
But stumbled upon inability to dispose my scope, because it's already being overlapped by other route widget.
So I get this sequence:
Screen A init -> Screen B init -> Screen A dispose (which in current flow disposes screen B scope).
The text was updated successfully, but these errors were encountered:
Hello.
Is there a way (or planned) to close some specific scopes?
I'm opening scope for a stateful widget in
initState
method and closing the scope ondispose
which allows precise DI management.But stumbled upon inability to dispose my scope, because it's already being overlapped by other route widget.
So I get this sequence:
Screen A init -> Screen B init -> Screen A dispose (which in current flow disposes screen B scope).
The text was updated successfully, but these errors were encountered: