l2ksdk 1.0.25
l2ksdk: ^1.0.25 copied to clipboard
Leads2Keys Flutter
We analyzed this package 4 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.
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
20 out of 178 API elements (11.2 %) 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: l2ksdk
, lk
, lk.LK.LK.new
, lk.LK.accountApi
, lk.LK.authorizationApi
.
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:l2ksdk/l2ksdk.dart
that imports:package:l2ksdk/lk.account.dart
that imports:package:l2ksdk/lk.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:l2ksdk/l2ksdk.dart
that imports:package:l2ksdk/lk.account.dart
that imports:package:l2ksdk/lk.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:l2ksdk/l2ksdk.dart
that imports:package:l2ksdk/lk.account.dart
that imports:package:l2ksdk/lk.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:l2ksdk/l2ksdk.dart
that imports:package:l2ksdk/lk.account.dart
that imports:package:l2ksdk/lk.dart
that imports:package:l2ksdk/lk.html.dart
that imports:dart:html
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.
lib/lk.html.dart:1:1
╷
1 │ import 'dart:html' as html;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/lk.html.dart
INFO: Statements in a for should be enclosed in a block.
lib/lk.project.dart:57:7
╷
57 │ ┌ if (list is Iterable)
58 │ │ for (final t in list) {
59 │ │ if (t is String) {
60 │ │ tags.add(t);
61 │ │ } else if (t is Map) {
62 │ │ final String tag = t['tag'];
63 │ │ if (t.containsKey('quality')) {
64 │ │ tags.add('$tag${t['quality']}');
65 │ │ } else if (t.containsKey('quantity')) {
66 │ │ final unity = t['unity'];
67 │ │ final quantity = t['quantity'];
68 │ │ if (unity != null && unity.isNotEmpty) {
69 │ │ tags.add('$tag$quantity$unity');
│ └──────────────────────────────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/lk.project.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cupertino_icons |
^1.0.5 |
1.0.8 | 1.0.8 | |
flutter_secure_storage |
^8.0.0 |
8.1.0 | 9.2.4 | |
http |
^0.13.5 |
0.13.6 | 1.4.0 | |
webview_flutter |
^4.0.7 |
4.13.0 | 4.13.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
flutter_secure_storage_linux |
- | 1.2.3 | 2.0.1 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.1 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.0.0 | |
flutter_secure_storage_windows |
- | 2.1.1 | 4.0.0 | |
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 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
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.2.0 | |
webview_flutter_android |
- | 4.7.0 | 4.7.0 | |
webview_flutter_platform_interface |
- | 2.13.1 | 2.13.1 | |
webview_flutter_wkwebview |
- | 3.22.0 | 3.22.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^8.0.0` on flutter_secure_storage does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions flutter_secure_storage
to update the constraint.
The constraint `^0.13.5` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.