easy_thermal_print 0.1.5+6
easy_thermal_print: ^0.1.5+6 copied to clipboard
a package for accessing thermal printers via flutter
We analyzed this package 17 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: LGPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
16 out of 84 API elements (19.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: easy_thermal_print, easy_thermal_print.phomemoBLEConfig, easy_thermal_print.presetTextStyle, img_fromtext, img_fromtext.imageFromText.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Linux
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:easy_thermal_print/easy_thermal_print.dartthat imports:package:easy_thermal_print/s_bluetooth.dartthat imports:package:flutter_blue_plus/flutter_blue_plus.dartthat declares support for platforms:Android,iOS,Linux,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:easy_thermal_print/easy_thermal_print.dartthat imports:package:easy_thermal_print/s_bluetooth.dartthat imports:package:flutter_blue_plus/flutter_blue_plus.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:easy_thermal_print/easy_thermal_print.dartthat imports:package:easy_thermal_print/s_bluetooth.dartthat imports:package:flutter_blue_plus/flutter_blue_plus.dartthat imports:dart:io
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Missing type annotation.
lib/s_bluetooth.dart:58:3
╷
58 │ dispose() {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/s_bluetooth.dart
INFO: 'name' is deprecated and shouldn't be used. Use platformName instead.
lib/s_bluetooth.dart:92:63
╷
92 │ throw Exception("No services found for device: ${device.name}");
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/s_bluetooth.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.19.1 |
1.19.1 | 1.19.1 | |
flutter_blue_plus |
^1.35.5 |
1.36.8 | 2.1.1 | |
image |
^4.5.4 |
4.7.2 | 4.7.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
bluez |
- | 0.8.3 | 0.8.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dbus |
- | 0.7.12 | 0.7.12 | |
ffi |
- | 2.2.0 | 2.2.0 | |
flutter_blue_plus_android |
- | 7.0.4 | 8.1.0 | |
flutter_blue_plus_darwin |
- | 7.0.3 | 8.1.1 | |
flutter_blue_plus_linux |
- | 7.0.3 | 8.1.0 | |
flutter_blue_plus_platform_interface |
- | 7.0.0 | 8.1.0 | |
flutter_blue_plus_web |
- | 7.0.2 | 8.1.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
posix |
- | 6.0.3 | 6.0.3 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.35.5` on flutter_blue_plus does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_blue_plus 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.23.9, Flutter 3.38.9, Dart 3.10.8.
Check the analysis log for details.