Baseflow / Baseflow/flutter_cached_network_image

Invalid argument(s): No host specified in URI

Open
#1,016 0 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

## 🏗 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

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.