dio
diox
dio | diox | |
---|---|---|
8 | 4 | |
11,371 | 143 | |
- | - | |
4.0 | 10.0 | |
about 1 year ago | about 1 year ago | |
Dart | Dart | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dio
-
[Official] Dio is no longer being maintained.
With no release in the last 6 months, piling up of issues and launch of a new fork (diox), I felt something was going on with dio. Sadly, today I came across an official announcement (updated on the project repo 2 days back):
-
Dio caching experience
You might want to think twice about dio....we evaluated dio on a recent project and decided to avoid it after running into a blocker when setting a custom timeout (this bug: https://github.com/flutterchina/dio/issues/1454)
- Dio, maintaining session
- NO_RENEGOTIATION error when trying to do HTTPS
- Dio – A powerful HTTP client for Dart
-
GetX is dead, what to use next?
- and Dio for http requests
-
Thoughts on creating a library with Dart for browser and node
I also had some troubles choosing which Dart HTTP client to use. I've started with dio, but when I tried to read one of our bigger JSON responses (~1.5mb) my browser tab froze (there seems to be an old issue describing the same behavior). After that I've switched to the default dart's http package and it is working fine but it doesn't have builtin requests abort/cancellation.
- How to rerun function if it return x?
diox
-
[Official] Dio is no longer being maintained.
Your point of supply-chain risks is definitely valid, but given that some well-known devs contribute to diox and that they are pretty transparent on what they are doing ( https://github.com/cfug/diox/issues/29 ) IMO it still can be justified in this case.
-
Dio caching experience
There's a fork that's actively maintained though https://github.com/cfug/diox
What are some alternatives?
getx - Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
dio - A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.
graphql-flutter - A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
http_pagination - Parses a link header (web links) and returns pagination data
flutter-design-patterns - Flutter Design Patterns application
base_uri - A tiny wrapper around Uri to easily define a base uri. Supports api versions.
sentry-dart - Sentry SDK for Dart and Flutter
http-mock-adapter - A simple to use mocking package for Dio intended to be used in tests.
bloc - A predictable state management library that helps implement the BLoC design pattern
Flutter - A boilerplate project for Flutter using RiverPod, Dio, go_router, Freezed and generated with very_good_cli
flutterfire - 🔥 A collection of Firebase plugins for Flutter apps.
flutter_deer - 🦌 Flutter 练习项目(包括集成测试、可访问性测试)。内含完整UI设计图,更贴近真实项目的练习。Flutter practice project (including integration testing and accessibility testing). Contains complete UI design drawings for a more realistic practice project.