dio 3.0.1
dio: ^3.0.1 copied to clipboard
A powerful Http client for Dart, which supports Interceptors, FormData, Request Cancellation, File Downloading, Timeout etc.
1934
likes
90
/ 110
pub points
99
%
popularity
We analyzed this package on Mar 26, 2021, and awarded it 90 pub points (of a possible 110):
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: Package has an example
- Found example at:
example/dio.dart
10/10 points: 20% or more of the public API has dartdoc comments
- 254 out of 357 API elements (71.1 %) have documentation comments.
20/20 points: Supports 2 of 2 possible platforms (native, js)
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
INFO: 'List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead.
lib/src/adapters/browser_adapter.dart:13:17
╷
13 │ final _xhrs = List<HttpRequest>();
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/src/adapters/browser_adapter.dart
INFO: 'List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead.
lib/src/dio.dart:1001:21
╷
1001 │ var group = List<List<int>>();
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/src/dio.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
http_parser | >=0.0.1 <4.0.0 | 3.1.4 | 4.0.0 |
path | ^1.6.4 | 1.8.0 | 1.8.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
charcode | - | 1.2.0 | 1.2.0 |
collection | - | 1.15.0 | 1.15.0 |
source_span | - | 1.8.1 | 1.8.1 |
string_scanner | - | 1.1.0 | 1.1.0 |
term_glyph | - | 1.2.0 | 1.2.0 |
typed_data | - | 1.3.0 | 1.3.0 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=0.0.1 <4.0.0` on http_parser does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions http_parser
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analysed with
Pana 0.15.4
,
Dart 2.12.1
.