flutter_thermal_printer 2.2.1
flutter_thermal_printer: ^2.2.1 copied to clipboard
Plugin for Flutter to print on thermal printers via ESC/POS commands.
We analyzed this package 3 days ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://sunilflutter.in/ was unreachable. Make sure that the website is reachable via HEAD requests.
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
258 out of 742 API elements (34.8 %) have documentation comments.
Some symbols that are missing documentation: ble_config, ble_config.BleConfig, ble_config.BleConfig.BleConfig.new, ble_config.BleConfig.connectionStabilizationDelay, ble_config.BleConfig.copyWith.
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:flutter_thermal_printer/flutter_thermal_printer.dartthat declares support for platforms:Android,iOS,Windows,macOS.
Package does not support platform `Web`.
Because:
package:flutter_thermal_printer/flutter_thermal_printer.dartthat 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 `Android`.
Because:
package:flutter_thermal_printer/flutter_thermal_printer.dartthat imports:package:universal_ble/universal_ble.dartthat imports:package:universal_ble/src/universal_ble.dartthat imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dartthat imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:flutter_thermal_printer/flutter_thermal_printer.dartthat imports:package:universal_ble/universal_ble.dartthat imports:package:universal_ble/src/universal_ble.dartthat imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dartthat imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
Package does not support platform `Windows`.
Because:
package:flutter_thermal_printer/flutter_thermal_printer.dartthat imports:package:universal_ble/universal_ble.dartthat imports:package:universal_ble/src/universal_ble.dartthat imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dartthat imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
Package does not support platform `macOS`.
Because:
package:flutter_thermal_printer/flutter_thermal_printer.dartthat imports:package:universal_ble/universal_ble.dartthat imports:package:universal_ble/src/universal_ble.dartthat imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dartthat imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: Missing type annotation.
lib/Windows/windows_stub.dart:18:24
╷
18 │ RawPrinter(String _, __);
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/Windows/windows_stub.dart
INFO: The referenced name isn't visible in scope.
lib/flutter_thermal_printer.dart:138:8
╷
138 │ /// [context] The build context.
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_thermal_printer.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
esc_pos_utils_plus |
^2.0.4 |
2.0.4 | 2.0.4 | |
ffi |
^2.2.0 |
2.2.0 | 2.2.0 | |
image |
^4.8.0 |
4.8.0 | 4.9.0 | |
plugin_platform_interface |
^2.1.8 |
2.1.8 | 2.1.8 | |
screenshot |
^3.0.0 |
3.0.0 | 3.0.0 | |
universal_ble |
^2.0.1 |
2.0.2 | 2.0.2 | |
win32 |
^6.2.0 |
6.3.0 | 6.3.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.9 | 4.0.9 | |
args |
- | 2.7.0 | 2.7.0 | |
bluez |
- | 0.8.3 | 0.8.3 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dbus |
- | 0.7.12 | 0.7.13 | |
ffi_leak_tracker |
- | 0.1.2 | 0.1.2 | |
flutter_web_bluetooth |
- | 1.1.0 | 1.1.0 | |
html |
- | 0.15.6 | 0.15.6 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
posix |
- | 6.5.0 | 6.5.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 7.0.1 |
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.23.12, Flutter 3.44.0, Dart 3.12.0.
Check the analysis log for details.