Skip to content
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

If image (DOES NOT EXIST) AND (maxWidth/maxHeight) ARE set, the stream never closes #439

Open
mark8044 opened this issue Dec 8, 2023 · 0 comments

Comments

@mark8044
Copy link

mark8044 commented Dec 8, 2023

If image (DOES NOT EXIST) AND (maxWidth/maxHeight) ARE set, the stream never closes and there is endless waiting for the image. Especially a problem when trying to get images in a FutureBuilder or when doing a retry to get the image again, nothing happens as an image streamlistener is already running.

This is in the context of a CachedNetworkImageProvider.

Removing (maxWidth/maxHeight) solves the issue. Then the stream closes and things work as they should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant