lib_network 0.0.13
lib_network: ^0.0.13 copied to clipboard
Flutter project network module.
We analyzed this package 2 days ago, and awarded it 125 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
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
273 out of 378 API elements (72.2 %) have documentation comments.
Some symbols that are missing documentation: lib_network, lib_network.BackgroundTransformer.BackgroundTransformer.new, lib_network.BaseOptions.BaseOptions.new, lib_network.BaseOptions.contentType, lib_network.BaseOptions.extra.
10/10 points: Package has 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:lib_network/lib_network.dartthat imports:package:lib_network/src/response_interceptor.dartthat imports:package:lib_network/src/http_utils.dartthat imports:package:dio_cookie_manager/dio_cookie_manager.dartthat imports:package:dio_cookie_manager/src/cookie_mgr.dartthat imports:package:cookie_jar/cookie_jar.dartthat imports:package:cookie_jar/src/file_storage.dartthat imports:package:universal_io/io.dartthat imports:package:universal_io/universal_io.dartthat imports:package:universal_io/src/_exports_in_browser.dartthat imports:package:universal_io/src/internet_address.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
INFO: 'DioError' is deprecated and shouldn't be used. Use DioException instead. This will be removed in 6.0.0.
lib/src/error_interceptor.dart:22:16
╷
22 │ void onError(DioError err, ErrorInterceptorHandler handler) {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/error_interceptor.dart
INFO: 'DioErrorType' is deprecated and shouldn't be used. Use DioExceptionType instead. This will be removed in 6.0.0.
lib/src/error_interceptor.dart:24:12
╷
24 │ case DioErrorType.connectionTimeout:
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/error_interceptor.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cookie_jar |
^4.0.8 |
4.0.9 | 4.0.9 | |
dio |
^5.0.1 |
5.9.2 | 5.9.2 | |
dio_cookie_manager |
^3.1.1 |
3.4.0 | 3.4.0 | |
intl |
^0.19.0 |
0.19.0 | 0.20.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.2 | 2.1.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.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 | |
universal_io |
- | 2.3.1 | 2.3.1 | |
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 `^0.19.0` on intl does not support the stable version `0.20.0`.
Try running dart pub upgrade --major-versions intl 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.10, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.