smart_dio 1.1.1
smart_dio: ^1.1.1 copied to clipboard
Dio wrapper with pluggable pipelines, sealed 8-case errors, multilayer localization fallback, and SmartClientManager for multiple named clients.
We analyzed this package 2 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/AIGeekMaker/smart_dio was unreachable. Make sure that the website is reachable via HEAD requests.
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
669 out of 883 API elements (75.8 %) have documentation comments.
Some symbols that are missing documentation: cache_plugin, cache_plugin.CachePlugin.CachePlugin.new, configurable_localizer, context, context.RequestContext.RequestContext.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:smart_dio/smart_dio.dartthat imports:package:smart_dio/http/smart_dio.dartthat imports:package:smart_dio/http/plugins/retry_plugin.dartthat imports:package:smart_dio/http/plugins/smart_retry_interceptor.dartthat imports:package:dio_smart_retry/dio_smart_retry.dartthat imports:package:dio_smart_retry/src/retry_interceptor.dartthat imports:package:dio_smart_retry/src/multipart_file_recreatable.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/http/plugins/header_plugin.dart:8:11
╷
8 │ /// 返回 Map<String, String?>,value 为 null 表示该 header 不添加
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/http/plugins/header_plugin.dart
INFO: Angle brackets will be interpreted as HTML.
lib/http/plugins/header_plugin.dart:58:46
╷
58 │ /// [providers] 异步 Header 提供器列表,每个提供器返回 Map<String, String?>
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/http/plugins/header_plugin.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.11.0 |
5.11.0 | 5.11.0 | |
dio_cache_interceptor |
^4.0.5 |
4.0.7 | 4.0.7 | |
dio_smart_retry |
^6.0.0 |
6.0.0 | 7.0.1 | |
talker_dio_logger |
^5.1.9 |
5.1.20 | 5.1.20 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ansicolor |
- | 2.0.3 | 2.0.3 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dio_web_adapter |
- | 2.2.1 | 2.2.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_cache_core |
- | 1.1.4 | 1.1.4 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
talker |
- | 5.1.20 | 5.1.20 | |
talker_logger |
- | 5.1.20 | 5.1.20 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.6.0 | 4.6.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.0.0` on dio_smart_retry does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions dio_smart_retry to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.