network_kit_lite 0.1.3
network_kit_lite: ^0.1.3 copied to clipboard
A Dart package inspired by Moya style for Flutter, providing a clean and maintainable way to consume APIs.
We analyzed this package 28 hours ago, and awarded it 65 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
409 out of 624 API elements (65.5 %) have documentation comments.
Some symbols that are missing documentation: network_kit_lite, network_kit_lite.APIEndpoint, network_kit_lite.APIEndpoint.APIEndpoint.new, network_kit_lite.APIEndpoint.cacheDuration, network_kit_lite.APIEndpoint.cachePolicy.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 20 issues. Showing the first 2:
ERROR: The body might complete normally, causing 'null' to be returned, but the return type, 'String', is a potentially non-nullable type.
lib/src/core/exceptions/app_exception.dart:341:17
╷
341 │ static String _httpDioExceptionMessage(DioException exception) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/exceptions/app_exception.dart
ERROR: The body might complete normally, causing 'null' to be returned, but the return type, 'NetworkConnectivityStatus', is a potentially non-nullable type.
lib/src/utils/network_connectivity.dart:216:29
╷
216 │ NetworkConnectivityStatus _convertConnectivityResult(ConnectivityResult result) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/network_connectivity.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analyzer |
^6.3.0 |
6.4.1 | 14.1.0 | |
build |
^2.4.0 |
2.4.1 | 4.0.9 | |
connectivity_plus |
^6.1.3 |
6.1.5 | 7.3.1 | |
crypto |
^3.0.6 |
3.0.7 | 3.0.7 | |
dio |
^5.3.2 |
5.11.0 | 5.11.0 | |
easy_localization |
^3.0.7 |
3.0.8 | 3.0.8 | |
freezed_annotation |
^2.4.1 |
2.4.4 | 3.1.0 | |
json_annotation |
^4.8.1 |
4.12.0 | 4.12.0 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
shared_preferences |
^2.2.1 |
2.5.5 | 2.5.5 | |
source_gen |
^1.4.0 |
1.5.0 | 4.2.4 | |
sqflite |
^2.3.0 |
2.4.3 | 2.4.3 | |
uuid |
^4.5.1 |
4.6.0 | 4.6.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 67.0.0 | 105.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.1.0 | 2.1.0 | |
convert |
- | 3.1.2 | 3.1.2 | |
dart_style |
- | 2.3.6 | 3.1.12 | |
dbus |
- | 0.7.14 | 0.7.14 | |
dio_web_adapter |
- | 2.2.1 | 2.2.1 | |
easy_logger |
- | 0.0.2 | 0.0.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.3 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.19.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
package_config |
- | 2.2.0 | 3.0.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
shared_preferences_android |
- | 2.4.27 | 2.4.27 | |
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 | |
sqflite_android |
- | 2.4.3 | 2.4.3 | |
sqflite_common |
- | 2.5.11 | 2.5.11 | |
sqflite_darwin |
- | 2.4.3+1 | 2.4.3+1 | |
sqflite_platform_interface |
- | 2.4.1 | 2.4.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.1+1 | 3.4.1+1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.4.1 | |
watcher |
- | 1.2.1 | 1.2.1 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 7.0.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^6.3.0` on analyzer does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions analyzer to update the constraint.
The constraint `^2.4.0` on build does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions build 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.14, Flutter 3.44.5, Dart 3.12.2.
Check the analysis log for details.