sm_network 0.1.1+1 sm_network: ^0.1.1+1 copied to clipboard
A Flutter networking library that provides a simple and convenient way to access network resources.
We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/shay-wong/flutter_sm_network/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
395 out of 578 API elements (68.3 %) have documentation comments.
Some symbols that are missing documentation: sm_network
, sm_network.API
, sm_network.API.API
, sm_network.APIConfig.copyWith
, sm_network.APIConfig.dio
.
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:sm_network/sm_network.dart
that imports:package:sm_network/src/common/api_session.dart
that imports:package:sm_network/src/common/api_mixin.dart
that imports:package:sm_logger/sm_logger.dart
that imports:package:sm_logger/src/m_logger.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/advanced_file_output_stub.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:sm_network/sm_network.dart
that imports:package:sm_network/src/responder/api_responder.dart
that imports:package:sm_network/src/responder/api_error.dart
that imports:package:sm_models/sm_models.dart
that imports:package:sm_models/src/error.dart
that imports:package:get/get.dart
that imports:package:get/route_manager.dart
that imports:package:get/get_navigation/get_navigation.dart
that imports:package:get/get_navigation/src/root/get_material_app.dart
that imports:package:get/get_utils/get_utils.dart
that imports:package:get/get_utils/src/platform/platform.dart
that imports:package:get/get_utils/src/platform/platform_web.dart
that imports:dart:html
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 5 issues. Showing the first 2:
INFO: 'postUseFormData' is deprecated and shouldn't be used. Use `postBodyByDefault` and `postBodyFormat` instead, it will be removed in next version.
lib/src/common/api_mixin.dart:228:49
╷
228 │ (config.postBodyByDefault || config.postUseFormData));
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/common/api_mixin.dart
INFO: 'postUseFormData' is deprecated and shouldn't be used. Use `postBodyByDefault` and `postBodyFormat` instead, it will be removed in next version.
lib/src/core/api_config.dart:192:7
╷
192 │ postUseFormData: postUseFormData ?? this.postUseFormData,
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/api_config.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 |
cross_file |
>=0.3.3 <1.0.0 |
0.3.4+2 | 0.3.4+2 |
crypto |
^3.0.3 |
3.0.6 | 3.0.6 |
dio |
>=5.4.3 <6.0.0 |
5.7.0 | 5.7.0 |
dio_cache_interceptor |
^3.5.0 |
3.5.0 | 3.5.0 |
json_annotation |
>=4.9.0 <5.0.0 |
4.9.0 | 4.9.0 |
sm_logger |
^0.0.10 |
0.0.10 | 0.0.10 |
sm_models |
^0.0.5 |
0.0.5 | 0.0.5 |
xml |
^6.5.0 |
6.5.0 | 6.5.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
fixnum |
- | 1.1.1 | 1.1.1 |
flutter |
- | 0.0.0 | 0.0.0 |
get |
- | 4.6.6 | 4.6.6 |
http_parser |
- | 4.0.2 | 4.1.1 |
logger |
- | 2.4.0 | 2.4.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
uuid |
- | 4.5.1 | 4.5.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 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.22.15
, Dart 3.5.4
.
Check the analysis log for details.