l2ksdk 1.0.25 l2ksdk: ^1.0.25 copied to clipboard
Leads2Keys Flutter
We analyzed this package 19 hours ago, and awarded it 100 pub points (of a possible 140):
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 60 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 163 API elements (12.3 %) 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.
Some symbols that are missing documentation: l2ksdk
, lk
, lk.LK.accountApi
, lk.LK.authorizationApi
, lk.LK.clientId
.
10/10 points: Package has 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: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
.
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
.
Package does not support platform `macOS`.
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
.
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
.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
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
INFO: Statements in an if should be enclosed in a block.
lib/lk.project.dart:58:9
╷
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');
70 │ │ } else {
71 │ │ tags.add('$quantity$tag');
│ └────^
╵
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 |
---|---|---|---|
cupertino_icons |
^1.0.5 |
1.0.8 | 1.0.8 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_secure_storage |
^8.0.0 |
8.1.0 | 9.0.0 |
http |
^0.13.5 |
0.13.6 | 1.2.1 |
webview_flutter |
^4.0.7 |
4.7.0 | 4.7.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
flutter_secure_storage_linux |
- | 1.2.0 | 1.2.0 |
flutter_secure_storage_macos |
- | 3.0.1 | 3.0.1 |
flutter_secure_storage_platform_interface |
- | 1.0.2 | 1.0.2 |
flutter_secure_storage_web |
- | 1.1.2 | 1.1.2 |
flutter_secure_storage_windows |
- | 2.1.1 | 3.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
js |
- | 0.6.7 | 0.7.1 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
path |
- | 1.9.0 | 1.9.0 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
webview_flutter_android |
- | 3.16.1 | 3.16.1 |
webview_flutter_platform_interface |
- | 2.10.0 | 2.10.0 |
webview_flutter_wkwebview |
- | 3.13.0 | 3.13.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
Analyzed with Pana 0.22.3
, Flutter 3.19.5
, Dart 3.3.3
.
Check the analysis log for details.