cfug/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.

12,838

stars

844

commits

Dart

primary language

Sep 6, 2026

updated

dio.pub
adapter
cancellable
dart
dio
flutter
http
interceptor
middleware
network
timeout
transformer

README

dio

Language: English | 简体中文

This is the base repo of the dio project. Please move to specific paths for project instructions.

Don't forget to add #dio topic to your published dio-related packages! See more: https://dart.dev/tools/pub/pubspec#topics

Versioning

Before you upgrade: Breaking changes might happen in major and minor versions of packages.
See the Migration Guide for the complete breaking changes list.

To know about our compatibility policy, see the Compatibility Policy doc.

All Packages

dio

Plugins

  • cookie_manager: link Pub
  • compatibility_layer: link Pub
  • http2_adapter: link Pub
  • native_dio_adapter: link Pub
  • web_adapter: link Pub

Examples

  • example: link
  • example_flutter_app: link

The project and its underlying projects are originally authored by @wendux with the organization @flutterchina, started being maintained by Chinese Flutter User Group (@cfug) since 2023.

The project consents the MIT license.

Contributors

(top 30 of 134)

AlexV525

218 commits

wendux

189 commits

kuhnroyal

88 commits

cfug-dev

82 commits

cfug/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.

12,838

stars

844

commits

Dart

primary language

Sep 6, 2026

updated

dio.pub
adapter
cancellable
dart
dio
flutter
http
interceptor
middleware
network
timeout
transformer

README

dio

Language: English | 简体中文

This is the base repo of the dio project. Please move to specific paths for project instructions.

Don't forget to add #dio topic to your published dio-related packages! See more: https://dart.dev/tools/pub/pubspec#topics

Versioning

Before you upgrade: Breaking changes might happen in major and minor versions of packages.
See the Migration Guide for the complete breaking changes list.

To know about our compatibility policy, see the Compatibility Policy doc.

All Packages

dio

Plugins

  • cookie_manager: link Pub
  • compatibility_layer: link Pub
  • http2_adapter: link Pub
  • native_dio_adapter: link Pub
  • web_adapter: link Pub

Examples

  • example: link
  • example_flutter_app: link

The project and its underlying projects are originally authored by @wendux with the organization @flutterchina, started being maintained by Chinese Flutter User Group (@cfug) since 2023.

The project consents the MIT license.

Contributors

(top 30 of 134)

AlexV525

218 commits

wendux

189 commits

kuhnroyal

88 commits

cfug-dev

82 commits

Languages

Dart

88.1%

C++

5.6%

CMake

4.8%