-
Notifications
You must be signed in to change notification settings - Fork 142
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
Long widget didn't work #175
Comments
Having the same issue |
+1 |
Could anyone provide a minimal reproducible code? |
There might be an issue with your widget. If it uses a ScrollController or MediaQuery, you'll need to: -Wrap your widget with Material and MediaQuery components. However, if you use this approach and then perform actions like saving an image while the app is inactive and then resumed, you might encounter bugs. because when resumed the context will not works To avoid these bugs, try to avoid using ScrollController or MediaQuery directly within the widget. If you absolutely need them, you can handle the app's resumed state using the WidgetsBindingObserver mixin |
View.of() was called with a context that does not contain a View widget.
No View widget ancestor could be found starting from the context that was passed to View.of().
The text was updated successfully, but these errors were encountered: