artemis_zebra 0.0.4 artemis_zebra: ^0.0.4 copied to clipboard
A new Flutter plugin working with zebra printers
We analyzed this package 2 days ago, and awarded it 90 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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
8 out of 73 API elements (11.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.
Some symbols that are missing documentation: artemis_zebra
, artemis_zebra.ArtemisZebraUtil
, artemis_zebra.ArtemisZebraUtil.ArtemisZebraUtil
, artemis_zebra.ArtemisZebraUtil.discoverPrinters
, artemis_zebra.ArtemisZebraUtil.getPlatformVersion
.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:artemis_zebra/artemis_zebra.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
Package does not support platform `Web`.
Because:
package:artemis_zebra/artemis_zebra.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `macOS`.
Because:
package:artemis_zebra/artemis_zebra.dart
that imports:package:artemis_zebra/artemis_zebra_platform_interface.dart
that imports:package:artemis_zebra/artemis_zebra_method_channel.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
WARNING: The value of the local variable 'statuses' isn't used.
lib/artemis_zebra_method_channel.dart:49:39
╷
49 │ Map<Permission, PermissionStatus> statuses = await [
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/artemis_zebra_method_channel.dart
WARNING: Dead code.
lib/zebra_printer.dart:29:5
╷
29 │ ┌ if(Platform.isIOS) return true;
30 │ │ bool result = await channel.invokeMethod("checkPermissions");
31 │ └ return result;
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/zebra_printer.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
permission_handler |
^10.2.0 |
10.4.5 | 11.3.1 |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
permission_handler_android |
- | 10.3.6 | 12.0.6 |
permission_handler_apple |
- | 9.1.4 | 9.4.4 |
permission_handler_platform_interface |
- | 3.12.0 | 4.2.1 |
permission_handler_windows |
- | 0.1.3 | 0.2.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^10.2.0` on permission_handler does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions permission_handler
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.