optimized_cached_image
optimized_cached_image copied to clipboard
Bad State: Stream has already been listened to.
I'm running into the error: Bad State: Stream has already been listened to.
when attempting to view an image after the first build. It occurs in the _loadAsync
method of _image_provider_io.dart
. I was wondering how to diagnose this and how to fix it. Could I get some help getting pointed in the right direction? It seems to behave slightly better if I make the following changes:
But I'm not sure if this is appropriate, and I have to leave the page and come back to get the image widget to "try again."
Not sure if it is related or not, but if there are "enough" widgets, I can get the app to throw an out-of-memory exception as well. This current test was putting ~80 image widgets into a GridView.