tn_arenas 0.0.4+4
tn_arenas: ^0.0.4+4 copied to clipboard
这是一个tn的flutter库,里边封装了一些自己经常用到的方法
We analyzed this package 12 days ago, and awarded it 45 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.
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: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
24 out of 275 API elements (8.7 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: tn_arenas, tn_arenas.ActionAuth, tn_arenas.ActionAuth.ActionAuth.fromJson, tn_arenas.ActionAuth.ActionAuth.new, tn_arenas.ActionAuth.displayName.
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 152 issues. Showing the first 2:
ERROR: Too many positional arguments: 2 expected, but 3 found.
lib/src/components/FormItem/dateFormItem.dart:28:88
╷
28 │ var newDateTime = DateTimeFormatter.formatDate(dateTime, "yyyy-MM-dd", DateTimePickerLocale.zh_cn);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/FormItem/dateFormItem.dart
ERROR: Too many positional arguments: 2 expected, but 3 found.
lib/src/components/FormItem/dateTimeFormItem.dart:29:77
╷
29 │ "${DateTimeFormatter.formatDate(dateTime, "yyyy-MM-dd", DateTimePickerLocale.zh_cn)} ${(dateTime.hour > 9 ? dateTime.hour : "0${dateTime.hour}")}:${(dateTime.minute > 9 ? dateTime.minute : "0${dateTime.minute}")}:00";
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/FormItem/dateTimeFormItem.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
badges |
^2.0.3 |
2.0.3 | 3.2.0 | |
bruno |
^3.0.0 |
3.4.3 | 3.4.3 | |
common_utils |
^2.1.0 |
2.1.0 | 2.1.0 | |
dio |
^4.0.6 |
4.0.6 | 5.11.1 | |
flutter_screenutil |
^5.6.0 |
5.9.3 | 5.9.3 | |
get |
^4.6.5 |
4.7.3 | 4.7.3 | |
jwt_decoder |
^2.0.1 |
2.0.1 | 2.0.1 | |
lpinyin |
^2.0.3 |
2.0.3 | 2.0.3 | |
shared_preferences |
^2.0.15 |
2.5.5 | 2.5.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bindings_compatible |
- | 1.0.1 | 1.0.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
decimal |
- | 2.3.3 | 3.2.6 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_easyrefresh |
- | 2.2.2 | 2.2.2 | Discontinued |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.18.1 | 0.20.3 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_drawing |
- | 1.0.1 | 1.0.1 | |
path_parsing |
- | 1.1.0 | 1.1.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 | |
photo_view |
- | 0.14.0 | 0.15.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rational |
- | 2.2.3 | 2.2.3 | |
shared_preferences_android |
- | 2.4.28 | 2.4.28 | |
shared_preferences_foundation |
- | 2.5.7 | 2.5.7 | |
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 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.0.3` on badges does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions badges to update the constraint.
The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio 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.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.