You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for this amazing package! It's very useful and widely appreciated in the Flutter community.
I would like to request a feature to add timeout support for image requests in the CachedNetworkImage widget.
Problem:
Currently, there is no built-in way to configure a timeout for image requests. This can lead to scenarios where the widget keeps trying to load an image indefinitely, especially on slower networks or when the server is unresponsive.
Proposed Solution:
It would be great to have a property like timeout in the CachedNetworkImage widget, where users can specify the maximum time (in milliseconds) the widget should wait for the image to load. If the timeout is exceeded, the widget could show an errorWidget or placeholder.
Hi,
First of all, thank you for this amazing package! It's very useful and widely appreciated in the Flutter community.
I would like to request a feature to add timeout support for image requests in the CachedNetworkImage widget.
Problem:
Currently, there is no built-in way to configure a timeout for image requests. This can lead to scenarios where the widget keeps trying to load an image indefinitely, especially on slower networks or when the server is unresponsive.
Proposed Solution:
It would be great to have a property like timeout in the CachedNetworkImage widget, where users can specify the maximum time (in milliseconds) the widget should wait for the image to load. If the timeout is exceeded, the widget could show an errorWidget or placeholder.
For example:
Benefits:
The text was updated successfully, but these errors were encountered: