Baseflow / Baseflow/flutter_cached_network_image

ErrorWidget only working once

Open
#799 5 comments 5 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.6k
Forks
731
Avg merge
3d 9h
Merged PRs (30d)
1

Description

Thanks for the great package first of all.

When starting the app and coming across a broken url, the errorWidget is shown after a short loading phase (during which the placeholder is shown). That's working as expected. But once I encounter an image with the same url (e.g. pushing a detail page), the placeholder is shown forever, instead of switching to the errorWidget. No matter whether state is disposed, the errorWidget will never be shown again until a Hot Restart is being performed.

Since my placeholder widget (a shimmer loading animation), differs from the errorWidget, this creates the impression of a broken connection, which might confuse some users.

It think it's quite a big issue (at least for me), so I would appreciate any solution proposals.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.