pos_printer_manager 0.0.5 copy "pos_printer_manager: ^0.0.5" to clipboard
pos_printer_manager: ^0.0.5 copied to clipboard

flutter package for print or list down both wireless and bluetooth esc printer devices.

40
likes
70/ 160
pub points
79%
popularity

We analyzed this package 4 days ago, and awarded it 70 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: GPL-3.0.

partial
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

21 out of 120 API elements (17.5 %) 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: bluetooth_printer, bluetooth_printer.BluetoothPrinter, bluetooth_printer.BluetoothPrinter.BluetoothPrinter, bluetooth_printer_manager, bluetooth_printer_manager.BluetoothPrinterManager.bluetooth.

10/10 points: Package has an example

failed
Platform support
0 / 20trigger folding of the section

0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:pos_printer_manager/pos_printer_manager.dart that imports:
  • package:pos_printer_manager/services/usb_printer_manager.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:pos_printer_manager/pos_printer_manager.dart that imports:
  • package:pos_printer_manager/services/usb_printer_manager.dart that imports:
  • package:pos_printer_manager/services/usb_service.dart that imports:
  • package:flutter_usb_printer/flutter_usb_printer.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:pos_printer_manager/pos_printer_manager.dart that imports:
  • package:pos_printer_manager/services/usb_printer_manager.dart that imports:
  • package:pos_printer_manager/services/usb_service.dart that imports:
  • package:flutter_usb_printer/flutter_usb_printer.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:pos_printer_manager/pos_printer_manager.dart that imports:
  • package:pos_printer_manager/services/usb_printer_manager.dart that imports:
  • package:pos_printer_manager/services/usb_service.dart that imports:
  • package:flutter_usb_printer/flutter_usb_printer.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:pos_printer_manager/pos_printer_manager.dart that imports:
  • package:pos_printer_manager/services/usb_printer_manager.dart that imports:
  • package:pos_printer_manager/services/usb_service.dart that imports:
  • package:flutter_usb_printer/flutter_usb_printer.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:pos_printer_manager/pos_printer_manager.dart that imports:
  • package:pos_printer_manager/services/usb_printer_manager.dart that imports:
  • package:pos_printer_manager/services/usb_service.dart that imports:
  • package:flutter_usb_printer/flutter_usb_printer.dart that declares support for platforms: Android.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 37 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'package:esc_pos_utils_plus/esc_pos_utils.dart'.

lib/pos_printer_manager.dart:12:8

   ╷
12 │ export 'package:esc_pos_utils_plus/esc_pos_utils.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/pos_printer_manager.dart

ERROR: Undefined class 'Generator'.

lib/services/bluetooth_printer_manager.dart:12:3

   ╷
12 │   Generator? generator;
   │   ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/services/bluetooth_printer_manager.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
blue_thermal_printer ^1.1.8 1.2.3 1.2.3
easy_logger ^0.0.2 0.0.2 0.0.2
esc_pos_utils_plus ^2.0.1+6 2.0.4 2.0.4
ffi ^1.1.2 1.2.1 2.1.3
flutter flutter 0.0.0 0.0.0
flutter_usb_printer ^0.1.0 0.1.0+1 0.1.0+1
network_info_plus ^2.1.2 2.3.2 6.1.1
printing ^5.6.6 5.13.4 5.13.4
win32 ^2.3.1 2.6.1 5.9.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
barcode - 2.2.8 2.2.8
bidi - 2.0.12 2.0.12
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dbus - 0.7.4 0.7.10
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
image - 4.3.0 4.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
network_info_plus_linux - 1.1.2 1.1.2
network_info_plus_macos - 1.3.0 1.3.0
network_info_plus_platform_interface - 1.1.3 2.0.1
network_info_plus_web - 1.0.1 1.0.1
network_info_plus_windows - 1.0.2 1.0.2
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
pdf - 3.11.1 3.11.1
pdf_widget_wrapper - 1.0.4 1.0.4
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
qr - 3.0.2 3.0.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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.1.2` on ffi does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions ffi to update the constraint.

The constraint `^2.1.2` on network_info_plus does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions network_info_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.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.