-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing only query param caused an exception #220
Comments
Seems the issue is related to an overlay. I used the package: It also raises the same exception when choosing from the dialog. It won't throws exceptions if I just tapped a button from the page(no overlay). |
Hi @rockingdice I will need to investigate this further. Can you provide a minimal example that demonstrates this bug? |
@slovnicki OK, after vacation I'll try to make one for you. |
Hey @slovnicki! Got the same issue with |
Here's a temporary fix :
|
Are you kidding? When would you fix this issue? Should use Future.delayed everywhere I need to beamToNamed? |
@mhbdev This might have been closed prematurely. |
Are you working on this? I got the same error, and use
fix it, but I think it should be fixed in other way |
Just ran into the same issue. Any updates yet? |
I would suggest migrating to go_router or auto_route |
@slovnicki Any update on this, this is a mayor issue. TLTR: I think you should check on a magic may if every animation is done or all the controllers on a page are disposed/done, or w8t until the next frame until you navigate rsmting like that idk sorry... ;-) I have this problem in my 3 flutter apps, in all three i need to apply an Future.delayed(const Duration(milliseconds: 500))... this is a very ugly fix and this needs to be fixed asap. The issue only exists in debug mode but it makes developing a nightmare... 👾 Here are some details on the error, hopefully you have found a solution since the first mention on Apr 27, 2021... This is NOT a dialog only problem, this is a global widgets problem. Code that triggers errorapprovalUiState.updateWith(
purchaseInvoiceId: '',
flowInstanceId: '',
); Currently i FiXeD it using this peace of code:Future.delayed(const Duration(milliseconds: kDebugMode ? 200 : 0), () {
approvalUiState.updateWith(
purchaseInvoiceId: '',
flowInstanceId: '',
);
}); Stack: flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ |
|
Met an issue after upgrading to 0.12.3.
I want to change the navigation from a
DropdownButton
:Only the query param is changed, and I'll get an exception:
Don't know how to deal with the exception..
I'm using
SimpleLocationBuilder
.The text was updated successfully, but these errors were encountered: