mf_bluetooth_printer 1.0.5
mf_bluetooth_printer: ^1.0.5 copied to clipboard
A Flutter package for MF Bluetooth Printer — print receipts to Bluetooth thermal printers via ESC/POS.
We analyzed this package 45 hours ago, and awarded it 135 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.5").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
29 out of 85 API elements (34.1 %) have documentation comments.
Some symbols that are missing documentation: mf_bluetooth_printer.BluetoothPrinterService.BluetoothPrinterService.new, mf_bluetooth_printer.CompanyInfo.CompanyInfo.new, mf_bluetooth_printer.CompanyInfo.address1, mf_bluetooth_printer.CompanyInfo.address2, mf_bluetooth_printer.CompanyInfo.email.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:mf_bluetooth_printer/mf_bluetooth_printer.dartthat imports:package:mf_bluetooth_printer/src/bluetooth_printer_service.dartthat imports:package:flutter_blue_plus/flutter_blue_plus.dartthat declares support for platforms:Android,iOS,Linux,macOS,Web.
Package does not support platform `Linux`.
Because:
package:mf_bluetooth_printer/mf_bluetooth_printer.dartthat imports:package:mf_bluetooth_printer/src/bluetooth_printer_service.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `macOS`.
Because:
package:mf_bluetooth_printer/mf_bluetooth_printer.dartthat imports:package:mf_bluetooth_printer/src/bluetooth_printer_service.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package not compatible with platform Web
Because:
package:mf_bluetooth_printer/mf_bluetooth_printer.dartthat imports:package:mf_bluetooth_printer/src/esc_pos_generator.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: Use interpolation to compose strings and values.
lib/src/esc_pos_generator.dart:157:30
╷
157 │ bytes.addAll(utf8.encode(header + '\n'));
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/esc_pos_generator.dart
INFO: Use interpolation to compose strings and values.
lib/src/esc_pos_generator.dart:180:27
╷
180 │ dataRow += vatStr + grossStr + '\n';
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/esc_pos_generator.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_blue_plus |
^1.32.0 |
1.36.8 | 2.3.12 | |
image |
^4.0.0 |
4.10.1 | 4.10.1 | |
intl |
^0.19.0 |
0.19.0 | 0.20.3 | |
permission_handler |
^11.0.0 |
11.4.0 | 13.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.3.0 | 4.3.0 | |
args |
- | 2.7.0 | 2.7.0 | |
bluez |
- | 0.8.3 | 0.8.3 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
dbus |
- | 0.7.15 | 0.8.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
flutter_blue_plus_android |
- | 7.0.4 | 9.0.3 | |
flutter_blue_plus_darwin |
- | 7.0.3 | 9.0.4 | |
flutter_blue_plus_linux |
- | 7.0.3 | 9.0.3 | |
flutter_blue_plus_platform_interface |
- | 7.0.0 | 9.0.3 | |
flutter_blue_plus_web |
- | 7.0.2 | 9.0.3 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler_android |
- | 12.1.0 | 14.1.0 | |
permission_handler_apple |
- | 9.6.1 | 9.6.1 | |
permission_handler_html |
- | 0.1.4+1 | 0.1.4+1 | |
permission_handler_platform_interface |
- | 4.4.1 | 4.4.1 | |
permission_handler_windows |
- | 0.2.2 | 0.2.2 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.2 | 6.5.2 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 7.0.1 | 7.0.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^1.32.0` 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.
The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.
Try running dart pub upgrade --major-versions intl 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.19, Flutter 3.47.4, Dart 3.13.3.
Check the analysis log for details.