dio 4.0.6 icon indicating copy to clipboard operation
dio: ^4.0.6 copied to clipboard

A powerful Http client for Dart, which supports Interceptors, FormData, Request Cancellation, File Downloading, Timeout etc.

4267
likes
120/ 130
pub points
100%
popularity

We analyzed this package 20 hours ago, and awarded it 120 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

10/10 points: 20% or more of the public API has dartdoc comments

  • 310 out of 436 API elements (71.1 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: 'requestLock' is deprecated and shouldn't be used. Will delete in v5.0. Use `QueuedInterceptor` instead, more detail see https://github.com/flutterchina/dio/issues/1308.

lib/src/dio_mixin.dart:515:54

    ╷
515 │               return checkIfNeedEnqueue(interceptors.requestLock, () {
    │                                                      ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/dio_mixin.dart

INFO: 'responseLock' is deprecated and shouldn't be used. Will delete in v5.0. Use `QueuedInterceptor` instead, more detail see https://github.com/flutterchina/dio/issues/1308.

lib/src/dio_mixin.dart:540:54

    ╷
540 │               return checkIfNeedEnqueue(interceptors.responseLock, () {
    │                                                      ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/dio_mixin.dart

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
http_parser^4.0.04.0.14.0.1
path^1.8.01.8.21.8.2
Transitive dependencies
PackageConstraintCompatibleLatest
collection-1.16.01.16.0
source_span-1.9.11.9.1
string_scanner-1.1.11.1.1
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.14, Dart 2.17.5.

4267
likes
120
pub points
100%
popularity

Publisher

verified publisher iconflutterchina.club

A powerful Http client for Dart, which supports Interceptors, FormData, Request Cancellation, File Downloading, Timeout etc.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

http_parser, path

More

Packages that depend on dio