flutter_cached_network_image icon indicating copy to clipboard operation
flutter_cached_network_image copied to clipboard

Invalid argument(s): No host specified in URI

Open monfadev opened this issue 7 months ago • 0 comments

🏗 Enhancement Proposal

ensure that image URLs from the network are valid in the presentation layer without throwing exceptions. The validation can be performed using an HTTP check before attempting to load or cache the image.

Pitch

before displaying or caching the image URL, the component should provide an optional parameter to enable validation. This can help prevent runtime errors caused by invalid or expired URLs, improving the user experience and robustness of the UI.

Platforms affected (mark all that apply)

  • [x ] :iphone: iOS
  • [x ] :robot: Android

monfadev avatar Jun 27 '25 14:06 monfadev