dio2 5.0.0-nullsafety copy "dio2: ^5.0.0-nullsafety" to clipboard
dio2: ^5.0.0-nullsafety copied to clipboard

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

2
likes
110/ 140
pub points
50%
popularity

We analyzed this package 30 hours ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger 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

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

192 out of 271 API elements (70.8 %) have documentation comments.

Some symbols that are missing documentation: adapter, adapter.DefaultHttpClientAdapter.close, adapter_browser, adapter_browser.BrowserHttpClientAdapter, adapter_browser.BrowserHttpClientAdapter.BrowserHttpClientAdapter.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger 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
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 9 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

lib/src/adapters/browser_adapter.dart:33:28

   ╷
33 │       ..open(options.method!, options.uri.toString(), async: true)
   │                            ^
   ╵

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

WARNING: The '?' is unnecessary because 'dynamic' is nullable without it.

lib/src/dio_error.dart:45:10

   ╷
45 │   dynamic? error;
   │          ^
   ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
buffer ^1.1.0 1.2.3 1.2.3
http_parser ^4.0.0 4.0.2 4.0.2
path ^1.8.0 1.9.0 1.9.0
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

2
likes
110
pub points
50%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

buffer, http_parser, path

More

Packages that depend on dio2