dio_service 1.0.0
dio_service: ^1.0.0 copied to clipboard
A powerful reusable Dio-based networking layer with token refresh, caching, retry logic, and unified result wrappers.
We analyzed this package 29 hours ago, and awarded it 115 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.0").
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
9 out of 18 API elements (50.0 %) have documentation comments.
Some symbols that are missing documentation: dio_service_plus, dio_service_plus.ApiResult, dio_service_plus.ApiResult.ApiResult.failure, dio_service_plus.ApiResult.ApiResult.success, dio_service_plus.ApiResult.data.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
build |
^4.0.2 |
4.0.2 | 4.0.2 | |
dio |
^5.4.0 |
5.9.0 | 5.9.0 | |
dio_cache_interceptor |
^3.5.0 |
3.5.1 | 4.0.5 | |
drift |
^2.17.0 |
2.29.0 | 2.29.0 | |
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
meta |
^1.12.0 |
1.16.0 | 1.17.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.4 |
2.1.5 | 2.1.5 | |
sqlite3_flutter_libs |
^0.5.15 |
0.5.40 | 0.5.40 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 91.0.0 | 92.0.0 | |
analyzer |
- | 8.4.1 | 9.0.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqlite3 |
- | 2.9.4 | 2.9.4 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
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 | |
watcher |
- | 1.1.4 | 1.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.5.0` on dio_cache_interceptor does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions dio_cache_interceptor to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 57 errors:
EXTENDS_NON_CLASS-lib/src/cache/drift_cache_store.g.dart:264:13- Classes can only extend other classes.SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED-lib/src/cache/drift_cache_store.g.dart:266:20- No associated named super constructor parameter.SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED-lib/src/cache/drift_cache_store.g.dart:267:20- No associated named super constructor parameter.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.0, Dart 3.9.4.
Check the analysis log for details.