x_printer_thermal_windows 0.0.1
x_printer_thermal_windows: ^0.0.1 copied to clipboard
A package for printing thermal receipts on windows using USB.
We analyzed this package 7 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: x_printer_thermal_windows, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
pubspec.yaml from the repository has no repository or homepage URL.
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
4 out of 23 API elements (17.4 %) 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: x_printer_thermal_windows, x_printer_thermal_windows.UsbDevice, x_printer_thermal_windows.UsbDevice.UsbDevice.new, x_printer_thermal_windows.UsbDevice.driver, x_printer_thermal_windows.UsbDevice.name.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Windows
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:x_printer_thermal_windows/x_printer_thermal_windows.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:x_printer_thermal_windows/x_printer_thermal_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:x_printer_thermal_windows/x_printer_thermal_windows.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:x_printer_thermal_windows/x_printer_thermal_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:x_printer_thermal_windows/x_printer_thermal_windows.dartthat declares support for platforms:Windows.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:x_printer_thermal_windows/x_printer_thermal_windows.dartthat imports:package:win32/win32.dartthat imports:package:win32/src/com/iwinhttprequest.dartthat imports:package:win32/src/com/iunknown.dartthat imports:package:win32/src/utils.dartthat imports:package:win32/src/win32/user32.g.dartthat imports:package:win32/src/variant.dartthat imports:package:win32/src/win32/oleaut32.g.dartthat imports:package:win32/src/structs.g.dartthat imports:package:win32/src/guid.dartthat imports:package:win32/src/win32/ole32.g.dartthat imports:package:win32/src/combase.dartthat imports:package:win32/src/macros.dartthat imports:package:win32/src/inline.dartthat imports:package:win32/src/win32/uxtheme.g.dartthat imports:package:win32/src/callbacks.dartthat imports:package:win32/src/types.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf8.dartthat 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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: Don't invoke 'print' in production code.
lib/x_printer_thermal_windows.dart:9:5
╷
9 │ print("loading printer list");
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/x_printer_thermal_windows.dart
INFO: Don't invoke 'print' in production code.
lib/x_printer_thermal_windows.dart:67:7
╷
67 │ print("Error: $e");
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/x_printer_thermal_windows.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.1.3 |
2.1.4 | 2.1.4 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
win32 |
^5.10.0 |
5.15.0 | 5.15.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.