sunmi_printer_service 0.1.3
sunmi_printer_service: ^0.1.3 copied to clipboard
商米打印服务
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.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description
field in your package's pubspec.yaml
should primarily contain characters used in English.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md
in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
28 out of 49 API elements (57.1 %) have documentation comments.
Some symbols that are missing documentation: barcode_enum
, barcode_enum.BarCodeTextTypeExt
, barcode_enum.BarCodeTextTypeExt.value
, barcode_enum.BarCodeTypeExt
, barcode_enum.BarCodeTypeExt.value
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:sunmi_printer_service/sunmi_printer_service.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:sunmi_printer_service/sunmi_printer_service.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:sunmi_printer_service/sunmi_printer_service.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:sunmi_printer_service/sunmi_printer_service.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:sunmi_printer_service/sunmi_printer_service.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:sunmi_printer_service/sunmi_printer_service.dart
that imports:dart:ffi
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 3 issues. Showing the first 2:
WARNING: Unused import: 'dart:ffi'.
lib/sunmi_printer_service.dart:2:8
╷
2 │ import 'dart:ffi';
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/sunmi_printer_service.dart
WARNING: This function has a nullable return type of 'FutureOr
lib/sunmi_printer_service.dart:157:23
╷
157 │ static Future<int?> cutPaperTimes() async {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/sunmi_printer_service.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
vector_math |
- | 2.1.4 | 2.1.5 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.