flutter_thermal_printer 1.2.4 copy "flutter_thermal_printer: ^1.2.4" to clipboard
flutter_thermal_printer: ^1.2.4 copied to clipboard

Plugin for Flutter to print on thermal printers via ESC/POS commands.

150/ 160
pub points
4.49k
downloads

We analyzed this package 41 hours ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

193 out of 486 API elements (39.7 %) have documentation comments.

Some symbols that are missing documentation: flutter_thermal_printer, flutter_thermal_printer.AvailabilityState, flutter_thermal_printer.Barcode, flutter_thermal_printer.Barcode.data, flutter_thermal_printer.Barcode.type.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `Web`.

Because:

  • package:flutter_thermal_printer/flutter_thermal_printer.dart that 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.dart that imports:
  • package:universal_ble/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble_web/universal_ble_web.dart that imports:
  • package:flutter_web_bluetooth/flutter_web_bluetooth.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:flutter_thermal_printer/flutter_thermal_printer.dart that imports:
  • package:universal_ble/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble_web/universal_ble_web.dart that imports:
  • package:flutter_web_bluetooth/flutter_web_bluetooth.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:flutter_thermal_printer/flutter_thermal_printer.dart that imports:
  • package:universal_ble/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble_web/universal_ble_web.dart that imports:
  • package:flutter_web_bluetooth/flutter_web_bluetooth.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_thermal_printer/flutter_thermal_printer.dart that imports:
  • package:universal_ble/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble_web/universal_ble_web.dart that imports:
  • package:flutter_web_bluetooth/flutter_web_bluetooth.dart that declares support for platforms: Web.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_thermal_printer/flutter_thermal_printer.dart that imports:
  • package:universal_ble/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble_linux/universal_ble_linux.dart that imports:
  • package:bluez/bluez.dart that imports:
  • package:bluez/src/bluez_client.dart that imports:
  • package:bluez/src/bluez_agent.dart that imports:
  • package:dbus/dbus.dart that imports:
  • package:dbus/src/dbus_value.dart that 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.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/flutter_thermal_printer/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: Constructor declarations should be before non-constructor declarations.

lib/Windows/printers_data.dart:15:3

   ╷
15 │   PrinterNames(this._flags);
   │   ^^^^^^^^^^^^
   ╵

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

INFO: Don't throw instances of classes that don't extend either 'Exception' or 'Error'.

lib/Windows/printers_data.dart:43:13

   ╷
43 │       throw 'Read printer buffer size fail';
   │             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 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.1.4 2.1.4 2.1.4
image ^4.5.4 4.5.4 4.5.4
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
screenshot ^3.0.0 3.0.0 3.0.0
universal_ble ^0.21.1 0.21.1 0.21.1
win32 ^5.12.0 5.15.0 5.15.0
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
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
dbus - 0.7.11 0.7.11
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.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
posix - 6.0.3 6.0.3
source_span - 1.10.1 1.10.1
term_glyph - 1.2.2 1.2.2
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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: