flutter_vasat 0.1.3 flutter_vasat: ^0.1.3 copied to clipboard
Vasat SDK for flutter apps.
We analyzed this package 4 days ago, and awarded it 60 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 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
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
11 out of 184 API elements (6.0 %) 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: device
, device.Device
, device.Device.Device
, device.Device.Device.fromJson
, device.Device.allowPush
.
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 does not support platform `Web`.
Because:
package:flutter_vasat/models/device.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus_windows/device_info_plus_windows.dart
that declares support for platforms:Windows
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:flutter_vasat/models/device.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus_windows/device_info_plus_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:flutter_vasat/models/device.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus_windows/device_info_plus_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:flutter_vasat/models/device.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus_linux/device_info_plus_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `Linux`.
Because:
package:flutter_vasat/models/device.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus_windows/device_info_plus_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:flutter_vasat/models/device.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus_windows/device_info_plus_windows.dart
that declares support for platforms:Windows
.
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 35 issues. Showing the first 2:
ERROR: The argument type 'Value' can't be assigned to the parameter type 'Map
lib/storage/sembast_provider.dart:50:46
╷
50 │ return (factory != null) ? factory(value) : value as T;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/storage/sembast_provider.dart
WARNING: Unused import: 'package:flutter_vasat/models/vasat_model.dart'.
lib/models/device.dart:3:8
╷
3 │ import 'package:flutter_vasat/models/vasat_model.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/device.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
device_info_plus |
^2.1.0 |
2.2.0 | 11.1.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
http |
^0.13.0 |
0.13.6 | 1.2.2 |
package_info_plus |
^1.0.6 |
1.4.2 | 8.1.1 |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
path_provider |
^2.0.3 |
2.0.15 | 2.1.5 |
rxdart |
^0.27.2 |
0.27.7 | 0.28.0 |
sembast |
^3.1.1 |
3.7.5+2 | 3.7.5+2 |
sembast_web |
^2.0.1+1 |
2.4.0+4 | 2.4.0+4 |
shared_preferences |
^2.0.7 |
2.3.3 | 2.3.3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^2.1.0` on device_info_plus does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^0.13.0` 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.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.