smart_dio 1.0.3
smart_dio: ^1.0.3 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 10 days ago, and awarded it 125 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
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.3").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
593 out of 798 API elements (74.3 %) 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 4 issues. Showing the first 2:
/tmp/pana_EMLOMD/lib/bean/smart_dio_content_type.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_EMLOMD/lib/http/plugins/smart_retry_interceptor.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.9.0 |
5.9.0 | 5.9.0 | |
dio_cache_interceptor |
^4.0.5 |
4.0.5 | 4.0.5 | |
dio_smart_retry |
^6.0.0 |
6.0.0 | 7.0.1 | |
talker_dio_logger |
^5.1.9 |
5.1.9 | 5.1.9 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ansicolor |
- | 2.0.3 | 2.0.3 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_cache_core |
- | 1.1.3 | 1.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
talker |
- | 5.1.9 | 5.1.9 | |
talker_logger |
- | 5.1.9 | 5.1.9 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.