koi_printer_connection 0.1.0
koi_printer_connection: ^0.1.0 copied to clipboard
Printer connection adapters for koi_printer. Supports BLE, Classic Bluetooth, and TCP/IP.
We analyzed this package 4 days 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
118 out of 120 API elements (98.3 %) have documentation comments.
Some symbols that are missing documentation: koi_printer_connection.KoiClassicBtScanner.KoiClassicBtScanner.new, koi_printer_connection.KoiNetworkScanner.KoiNetworkScanner.new.
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:koi_printer_connection/koi_printer_connection.dartthat imports:package:koi_printer_connection/src/scanner/koi_classic_bt_scanner.dartthat imports:package:flutter_bluetooth_serial/flutter_bluetooth_serial.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:koi_printer_connection/koi_printer_connection.dartthat imports:package:koi_printer_connection/src/scanner/koi_classic_bt_scanner.dartthat imports:package:flutter_bluetooth_serial/flutter_bluetooth_serial.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:koi_printer_connection/koi_printer_connection.dartthat imports:package:koi_printer_connection/src/scanner/koi_classic_bt_scanner.dartthat imports:package:flutter_bluetooth_serial/flutter_bluetooth_serial.dartthat declares support for platforms:Android.
Package does not support platform `macOS`.
Because:
package:koi_printer_connection/koi_printer_connection.dartthat imports:package:koi_printer_connection/src/scanner/koi_classic_bt_scanner.dartthat imports:package:flutter_bluetooth_serial/flutter_bluetooth_serial.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:koi_printer_connection/koi_printer_connection.dartthat imports:package:koi_printer_connection/src/scanner/koi_classic_bt_scanner.dartthat imports:package:flutter_bluetooth_serial/flutter_bluetooth_serial.dartthat declares support for platforms:Android.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/adapter/koi_ble_adapter.dart:115:9
╷
115 │ return _characteristic!.read();
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/adapter/koi_ble_adapter.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_blue_plus |
^1.35.0 |
1.36.8 | 2.3.12 | |
flutter_bluetooth_serial |
^0.4.0 |
0.4.0 | 0.4.0 | |
koi_printer_command |
^0.1.0 |
0.1.0 | 0.1.0 | |
meta |
^1.17.0 |
1.19.0 | 1.19.0 |
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 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dbus |
- | 0.7.15 | 0.8.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
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 | |
gbk_codec |
- | 0.4.0 | 0.4.0 | |
html |
- | 0.15.7 | 0.15.7 | |
image |
- | 4.10.1 | 4.10.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
posix |
- | 6.5.2 | 6.5.2 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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 | |
zxing2 |
- | 0.2.4 | 0.2.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.35.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.
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.