xlf_base_model 0.2.2
xlf_base_model: ^0.2.2 copied to clipboard
信立方FlutterBaseModel
We analyzed this package 2 days ago, and awarded it 120 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.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.
Homepage URL doesn't exist.
At the time of the analysis https://gitlab.instrument.com.cn/app/xlf_base_model was unreachable. Make sure that the website is reachable via HEAD requests.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
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
167 out of 339 API elements (49.3 %) have documentation comments.
Some symbols that are missing documentation: base_list_res, base_list_res.BaseListRes.BaseListRes.fromJson, base_list_res.BaseListRes.BaseListRes.new, base_list_res.BaseListRes.code, base_list_res.BaseListRes.data.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:xlf_base_model/xlf_base_model.dartthat imports:package:xlf_base_model/https/dio_manager.dartthat imports:package:xlf_base_model/http_cache/manager_dio.dartthat imports:package:xlf_base_model/http_cache/core/manager.dartthat imports:package:xlf_base_model/http_cache/store/store_disk.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:xlf_base_model/xlf_base_model.dartthat imports:package:xlf_base_model/https/dio_manager.dartthat imports:package:xlf_base_model/http_cache/manager_dio.dartthat imports:package:xlf_base_model/http_cache/core/manager.dartthat imports:package:xlf_base_model/http_cache/store/store_disk.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:xlf_base_model/xlf_base_model.dartthat imports:package:xlf_base_model/https/dio_manager.dartthat imports:package:xlf_base_model/http_cache/manager_dio.dartthat imports:package:xlf_base_model/http_cache/core/manager.dartthat imports:package:xlf_base_model/http_cache/store/store_disk.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 29 issues. Showing the first 2:
INFO: Missing type annotation.
lib/base_manager.dart:14:10
╷
14 │ static init({
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/base_manager.dart
INFO: Missing type annotation.
lib/http_cache/core/obj.dart:40:3
╷
40 │ _convertDuration(Duration duration) =>
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/http_cache/core/obj.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 | |
cookie_jar |
^3.0.1 |
3.0.1 | 4.0.8 | |
crypto |
^3.0.2 |
3.0.7 | 3.0.7 | |
decimal |
^2.3.0 |
2.3.3 | 3.2.4 | |
dio |
^4.0.6 |
4.0.6 | 5.9.0 | |
dio_cookie_manager |
^2.0.0 |
2.0.0 | 3.3.0 | |
json_annotation |
^4.7.0 |
4.9.0 | 4.9.0 | |
json_serializable |
^6.5.4 |
6.11.3 | 6.11.3 | |
oktoast |
^3.3.1 |
3.4.0 | 3.4.0 | |
path |
^1.8.2 |
1.9.1 | 1.9.1 | |
quiver |
^3.1.0 |
3.2.2 | 3.2.2 | |
rational |
^2.2.0 |
2.2.3 | 2.2.3 | |
sqflite |
^2.0.1 |
2.4.2 | 2.4.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 92.0.0 | 93.0.0 | |
analyzer |
- | 9.0.0 | 10.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 4.0.3 | 4.0.3 | |
build_config |
- | 1.2.0 | 1.2.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
collection |
- | 1.19.1 | 1.19.1 | |
dart_style |
- | 3.1.3 | 3.1.3 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
source_gen |
- | 4.1.1 | 4.1.1 | |
source_helper |
- | 1.3.9 | 1.3.9 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.9 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^3.0.1` on cookie_jar does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions cookie_jar to update the constraint.
The constraint `^2.3.0` on decimal does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions decimal 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.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.