Skip to content
pubscout

http_image_provider

1.1.0, released 2 years ago by uekoetter.dev

An ImageProvider that uses the http package instead of dart:io.

WASM-ready
$ flutter pub add http_image_provider
Source repository

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.