fairy_flutter_comm 0.0.1-dev fairy_flutter_comm: ^0.0.1-dev copied to clipboard
This is a fullter tool class, which encapsulates various tool processing classes.
We analyzed this package 40 hours ago, and awarded it 65 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
226 out of 365 API elements (61.9 %) have documentation comments.
Some symbols that are missing documentation: account_regex
, account_regex.AccountRegex
, api_request
, biz_exception
, color_utils
.
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 not compatible with platform Web
Because:
package:fairy_flutter_comm/comm_http.dart
that imports:package:fairy_flutter_comm/http/http_server.dart
that imports:package:fairy_flutter_comm/http/intercepter/token_intercepter.dart
that imports:package:fairy_flutter_comm/utils/xlog.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/file_output_stub.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
ERROR: The argument type 'String?' can't be assigned to the parameter type 'String'.
lib/utils/system_utils.dart:24:43
╷
24 │ Clipboard.setData(ClipboardData(text: text));
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/system_utils.dart
INFO: 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g.
lib/utils/color_utils.dart:11:23
╷
11 │ int value = color.value;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/color_utils.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
cookie_jar |
^3.0.1 |
3.0.1 | 4.0.8 |
crypto |
^3.0.2 |
3.0.6 | 3.0.6 |
decimal |
^2.2.0 |
2.3.3 | 3.1.0 |
dio |
^4.0.6 |
4.0.6 | 5.7.0 |
dio_cookie_manager |
^2.0.0 |
2.0.0 | 3.1.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
intl |
^0.17.0 |
0.17.0 | 0.20.1 |
json_annotation |
^4.6.0 |
4.9.0 | 4.9.0 |
logger |
^1.1.0 |
1.4.0 | 2.5.0 |
pretty_dio_logger |
^1.1.1 |
1.2.0-beta-1 | 1.4.0 |
rational |
^2.2.0 |
2.2.3 | 2.2.3 |
shared_preferences |
^2.0.15 |
2.3.5 | 2.3.5 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.0 | 1.19.1 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http_parser |
- | 4.1.2 | 4.1.2 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
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 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
shared_preferences_android |
- | 2.4.0 | 2.4.0 |
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.2 | 2.4.2 |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
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.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 6 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.2.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
ARGUMENT_TYPE_NOT_ASSIGNABLE
-lib/utils/system_utils.dart:24:43
- The argument type 'String?' can't be assigned to the parameter type 'String'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.