Baseflow / Baseflow/flutter_cached_network_image

Enable use of `http` or `dio` library for making network requests

Open
#868 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.6k
Forks
731
Avg merge
3d 9h
Merged PRs (30d)
1

Description

## 🚀 Feature Requests

I would like to use this package with either [`http`](https://pub.dev/packages/http) or [`dio`](https://pub.dev/packages/dio).

### Contextualize the feature

This would enable me to
- make use of [`cupertino_http`](https://pub.dev/packages/cupertino_http) and [`cronet_http`](https://pub.dev/packages/cronet_http), and as a result it would allow me to enable the app being used with a VPN on iOS.
- Would allow me to trace image requests with Sentry, or similar APM tools.

### Describe the feature

I would like to be able to pass my own [`http.Client`](https://pub.dev/documentation/http/latest/http/Client-class.html) or [`Dio`](https://pub.dev/documentation/dio/latest/dio/Dio-class.html) instance, which is then used to make the network request.

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