http_image_provider
1.1.0, released 2 years ago by uekoetter.dev
An ImageProvider that uses the http package instead of dart:io.
What it does
Provides an image provider that makes network image requests using the package:http client instead of the default dart:io implementation. Allows custom clients such as cupertino_http, cronet_http, or tracing via Sentry.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to use cupertino_http or cronet_http for fetching images
- You need to trace HTTP image requests with tools like Sentry
Skip it when
- You do not need custom HTTP clients and standard Image.network is sufficient
Strengths
- Allows dynamic configuration of HTTP implementations via package:http
- Supports custom clients globally or per instance
- Supports loading progress tracking
Weaknesses
- Not documented beyond basic features
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
not documented
Image(
image: HttpImageProvider(Uri.parse('https://http.cat/200')),
)Alternatives
Packages that do the same job and could replace http_image_provider.
- image_cropper
A Flutter plugin for Android, iOS and Web supports cropping images
84Compare - fc_native_image_resize
A Flutter plugin to resize images via native APIs.
69Compare - simple_native_image_compress
Native image compression library supporting Windows, Linux, Android, iOS, and macOS.
48Compare - universal_image
Unified widget to display any image source (asset, network, file, SVG, base64, bytes, icon) across platforms.
59Compare