Open Kevin301099 opened 2 years ago
The clone() method of a previously-disposed Image was called. Once an Image object has been disposed, it can no longer be used to create handles, as the underlying data may have been released.
Navigate new screen and back to blur hash screen, I am getting this error
Have you found any workaround?
After installing and applying the flutter_blurhash
package, I started encountering this error frequently in my console.
I believe this issue might be related to the usage of Slivers or widget rebuildings.
Any news about this?
Any expectation about this? @Solido
Hey folks, I created a minimal reproducible example for this, check the video below with an easy way to reproduce this:
For more details and to see the code example above:
Use BlurHashImage
instead of. It worked for me
Before:
BlurHash(hash: userProfile.mainPhotoBlurhash)
After:
Image( image: BlurHashImage(userProfile.mainPhotoBlurhash), fit: BoxFit.cover, )
@kienvtqhi can you add evidence in video here?
Use
BlurHashImage
instead of. It worked for meBefore:
BlurHash(hash: userProfile.mainPhotoBlurhash)
After:
Image( image: BlurHashImage(userProfile.mainPhotoBlurhash), fit: BoxFit.cover, )
The clone() method of a previously-disposed Image was called. Once an Image object has been disposed, it can no longer be used to create handles, as the underlying data may have been released.
Navigate new screen and back to blur hash screen, I am getting this error