command_network 0.0.2
command_network: ^0.0.2 copied to clipboard
command_network is a high level request util based on [dio](https://pub.dev/packages/dio).
We analyzed this package 30 hours ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
224 out of 368 API elements (60.9 %) have documentation comments.
Some symbols that are missing documentation: command_network, command_network.AuthInfo, command_network.AuthInfo.AuthInfo.new, command_network.AuthInfo.AuthInfo.none, command_network.AuthInfo.authString.
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:command_network/command_network.dartthat imports:package:command_network/src/batch_request.dartthat imports:package:command_network/src/base_request.dartthat imports:package:command_network/src/interceptor/authentication_interceptor.dartthat imports:package:command_network/src/adapter/dio_network_adapter.dartthat imports:package:dio/adapter.dartthat imports:package:dio/src/adapters/io_adapter.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: Unused import: 'dart:io'.
lib/src/adapter/dio_network_adapter.dart:1:8
╷
1 │ import 'dart:io';
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/adapter/dio_network_adapter.dart
WARNING: Unused import: 'package:dio/adapter.dart'.
lib/src/adapter/dio_network_adapter.dart:3:8
╷
3 │ import 'package:dio/adapter.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/adapter/dio_network_adapter.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.2 |
3.0.7 | 3.0.7 | |
dio |
^4.0.6 |
4.0.6 | 5.9.0 | |
meta |
^1.7.0 |
1.17.0 | 1.18.0 | |
pretty_dio_logger |
^1.2.0-beta-1 |
1.2.0-beta-1 | 1.4.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio 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.8, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.