sw_core 0.5.2
sw_core: ^0.5.2 copied to clipboard
Spinwheel Core
We analyzed this package 45 hours ago, and awarded it 80 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://bitbucket.org/spinwheel/flutter-sdk/src/dev/
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
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
42 out of 1633 API elements (2.6 %) 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: analytics
, analytics.Analytics
, analytics.Analytics.Analytics.new
, analytics.Analytics.track
, analytics_constants
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:sw_core/analytics/analytics.dart
that imports:package:mixpanel_flutter/mixpanel_flutter.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:sw_core/analytics/analytics.dart
that imports:package:mixpanel_flutter/mixpanel_flutter.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:sw_core/analytics/analytics.dart
that imports:package:mixpanel_flutter/mixpanel_flutter.dart
that declares support for platforms:Android
,iOS
,Web
.
Package not compatible with platform Web
Because:
package:sw_core/analytics/analytics.dart
that imports:package:sw_core/environment/sw_env.dart
that imports:package:sw_core/tool/log.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
Package not compatible with runtime wasm
Because:
package:sw_core/analytics/analytics.dart
that imports:package:sw_core/environment/sw_env.dart
that imports:package:sw_core/tool/log.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 61 issues. Showing the first 2:
WARNING: Unused import: 'dart:convert'.
lib/entity_auth/error.dart:1:8
╷
1 │ import 'dart:convert';
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/entity_auth/error.dart
WARNING: Unused import: 'package:sw_core/tool/asset.dart'.
lib/entity_theme/response_theme.dart:2:8
╷
2 │ import 'package:sw_core/tool/asset.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/entity_theme/response_theme.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
dio |
^4.0.0 |
4.0.6 | 5.8.0+1 | |
dio_cache_interceptor |
^3.0.1 |
3.4.2 | 4.0.3 | |
get |
^4.3.8 |
4.7.2 | 4.7.2 | |
injector |
^2.0.0 |
2.0.0 | 4.0.0 | |
json_theme |
3.2.0 |
3.2.0 | 9.0.1+2 | |
jwt_decode |
^0.3.1 |
0.3.1 | 0.3.1 | |
logger |
^1.0.0 |
1.4.0 | 2.6.0 | |
mixpanel_flutter |
^1.4.5 |
1.6.0 | 2.4.4 | |
url_launcher |
^6.0.9 |
6.3.1 | 6.3.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
http |
- | 1.4.0 | 1.4.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.18.1 | 0.20.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_class |
- | 2.2.2+1 | 3.0.1 | |
json_schema2 |
- | 2.0.4+9 | 5.1.3 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
quiver |
- | 3.2.2 | 3.2.2 | |
rest_client |
- | 2.2.3+2 | 2.4.0 | Discontinued |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.6 | 0.7.6 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uri |
- | 1.0.0 | 1.0.0 | |
url_launcher_android |
- | 6.3.16 | 6.3.16 | |
url_launcher_ios |
- | 6.3.3 | 6.3.3 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.2 | 3.2.2 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
uuid |
- | 3.0.7 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
yaml |
- | 3.1.3 | 3.1.3 | |
yaon |
- | 1.1.4+10 | 1.1.4+10 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 6 issues. Showing the first 2:
The constraint `^4.0.0` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
The constraint `^3.0.1` on dio_cache_interceptor does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions dio_cache_interceptor
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:
UNDEFINED_NAMED_PARAMETER
-lib/tool/log.dart:15:13
- The named parameter 'noBoxingByDefault' isn't defined.
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.