flutter_sm_network 0.0.3
flutter_sm_network: ^0.0.3 copied to clipboard
A Flutter networking library that provides a simple and convenient way to access network resources.
We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: flutter_sm_network.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: flutter_sm_network, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
369 out of 577 API elements (64.0 %) have documentation comments.
Some symbols that are missing documentation: sm_network, sm_network.APIConfig.APIConfig.new, sm_network.APIConfig.contentType, sm_network.APIConfig.copyWith, sm_network.APIConfig.extra.
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
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:flutter_sm_network/sm_network.dartthat imports:package:flutter_sm_network/src/common/api_session.dartthat imports:package:flutter_sm_network/src/common/api_mixin.dartthat imports:package:flutter_sm_logger/sm_logger.dartthat imports:package:flutter_sm_logger/src/m_logger.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_sm_network/sm_network.dartthat imports:package:flutter_sm_network/src/common/api_session.dartthat imports:package:flutter_sm_network/src/common/api_mixin.dartthat imports:package:flutter_sm_logger/sm_logger.dartthat imports:package:flutter_sm_logger/src/m_logger.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/tencent_cos/src/cos_client.dart:77:3
╷
77 │ deleteObject(String objectKey) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/tencent_cos/src/cos_client.dart
INFO: Missing type annotation.
lib/src/tencent_cos/src/cos_clientbase.dart:59:3
╷
59 │ filterHeaders(Map<String, String?> src) {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/tencent_cos/src/cos_clientbase.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
cross_file |
^0.3.3+8 |
0.3.5+1 | 0.3.5+1 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
dio |
^5.4.2 |
5.9.0 | 5.9.0 | |
dio_cache_interceptor |
^3.5.0 |
3.5.1 | 4.0.5 | |
easy_refresh |
^3.3.4 |
3.4.0 | 3.4.0 | |
flutter_sm_logger |
^0.0.4 |
0.0.6 | 0.0.6 | Discontinued |
flutter_sm_models |
^0.0.2 |
0.0.2 | 0.0.2 | Discontinued |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
pull_to_refresh |
^2.0.0 |
2.0.0 | 2.0.0 | |
xml |
^6.5.0 |
6.6.1 | 6.6.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
get |
- | 4.7.3 | 4.7.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logger |
- | 2.6.2 | 2.6.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_drawing |
- | 1.0.1 | 1.0.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.1 | 7.0.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 | |
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 `^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.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- flutter_sm_logger
- flutter_sm_models.
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.