dio_http_util 1.6.0
dio_http_util: ^1.6.0 copied to clipboard
A powerful HTTP utility package based on Dio with configurable header injection and unified error handling.
We analyzed this package 46 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
227 out of 312 API elements (72.8 %) have documentation comments.
Some symbols that are missing documentation: api_response, api_response.ApiResponse.code, api_response.ApiResponse.message, dialog, dialog.PrivacyAgreementConfig.PrivacyAgreementConfig.new.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:dio_http_util/http_util.dartthat imports:package:dio_http_util/widgets/privacy_agreement/privacy_agreement.dartthat imports:package:dio_http_util/widgets/privacy_agreement/webview_page.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:dio_http_util/http_util.dartthat imports:package:dio_http_util/widgets/privacy_agreement/privacy_agreement.dartthat imports:package:dio_http_util/widgets/privacy_agreement/webview_page.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package not compatible with platform Web
Because:
package:dio_http_util/api_response.dartthat imports:package:dio_http_util/response.dartthat imports:package:dio_http_util/http_util_impl.dartthat imports:package:dio_http_util/sse/sse_manager.dartthat imports:package:dio_http_util/sse/sse_connection.dartthat imports:package:dio_http_util/sse/sse_client.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: The type name 'hm' isn't an UpperCamelCase identifier.
lib/http_method.dart:2:7
╷
2 │ class hm {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/http_method.dart
INFO: Angle brackets will be interpreted as HTML.
lib/http_util_impl.dart:988:18
╷
988 │ /// 返回 Response<T>,支持链式调用和自动错误处理
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/http_util_impl.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.5 |
3.0.7 | 3.0.7 | |
dio |
^5.9.0 |
5.9.2 | 5.9.2 | |
shared_preferences |
^2.2.2 |
2.5.5 | 2.5.5 | |
webview_flutter |
^4.13.1 |
4.13.1 | 4.13.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.2 | 2.1.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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 | |
shared_preferences_android |
- | 2.4.23 | 2.4.23 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.12.0 | 4.12.0 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 | |
webview_flutter_wkwebview |
- | 3.25.1 | 3.25.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.12, Flutter 3.41.9, Dart 3.11.5.
Check the analysis log for details.