terme 0.0.3
terme: ^0.0.3 copied to clipboard
Manage your network layer with dio.
We analyzed this package 20 hours ago, and awarded it 105 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.
Homepage URL doesn't exist.
At the time of the analysis https://gitlab.com/flutter-plugins2/terme
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.3").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
153 out of 304 API elements (50.3 %) have documentation comments.
Some symbols that are missing documentation: terme
, terme.BaseOptions.BaseOptions.new
, terme.BaseOptions.contentType
, terme.BaseOptions.extra
, terme.BaseOptions.followRedirects
.
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 does not support platform `Web`.
Because:
package:terme/terme.dart
that imports:package:terme/src/cache/sembast/local_sembast.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:terme/terme.dart
that imports:package:terme/src/feature/no_network/index.dart
that imports:package:terme/src/feature/no_network/no_network_manager.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:terme/terme.dart
that imports:package:terme/src/feature/no_network/index.dart
that imports:package:terme/src/feature/no_network/no_network_manager.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `Windows`.
Because:
package:terme/terme.dart
that imports:package:terme/src/feature/no_network/index.dart
that imports:package:terme/src/feature/no_network/no_network_manager.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `macOS`.
Because:
package:terme/terme.dart
that imports:package:terme/src/feature/no_network/index.dart
that imports:package:terme/src/feature/no_network/no_network_manager.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:terme/terme.dart
that imports:package:terme/src/network_manager.dart
that imports:package:terme/src/utility/custom_logger.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/advanced_file_output_stub.dart
that 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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 31 issues. Showing the first 2:
WARNING: This default clause is covered by the previous cases.
lib/src/extension/request_type_extension.dart:15:7
╷
15 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/extension/request_type_extension.dart
INFO: The import of 'package:sembast/sembast.dart' is unnecessary because all of the used elements are also provided by the import of 'package:sembast/sembast_io.dart'.
lib/src/cache/sembast/local_sembast.dart:4:8
╷
4 │ import 'package:sembast/sembast.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/cache/sembast/local_sembast.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
connectivity_plus |
^5.0.2 |
5.0.2 | 7.0.0 | |
dio |
^5.3.3 |
5.9.0 | 5.9.0 | |
logger |
^2.0.2+1 |
2.6.1 | 2.6.1 | |
lottie |
^1.3.0 |
1.4.3 | 3.3.2 | |
path_provider |
^2.0.1 |
2.1.5 | 2.1.5 | |
retry |
^3.1.0 |
3.1.2 | 3.1.2 | |
sembast |
^3.0.0+4 |
3.8.5+1 | 3.8.5+1 | |
shared_preferences |
^2.0.3 |
2.5.3 | 2.5.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dbus |
- | 0.7.11 | 0.7.11 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.18 | 2.2.18 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.14 | 2.4.14 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^5.0.2` on connectivity_plus does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus
to update the constraint.
The constraint `^1.3.0` on lottie does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions lottie
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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.