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

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

22
likes
155/ 160
pub points
90%
popularity

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

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be well formed Unable to parse 1 image link.

README.md:2:4

  ╷
2 │ <p><a href="%5Bhttps://badges.pufler.dev%5D(https://badges.pufler.dev/visits/Sunil9162/flutter_thermal_printer)"><img src="https://badges.pufler.dev/visits/Sunil9162/flutter_thermal_printer" alt="Visits Badge" /></a>
  │    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

91 out of 295 API elements (30.8 %) have documentation comments.

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

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:flutter_thermal_printer/Windows/window_printer_manager.dart that imports:
  • package:flutter_thermal_printer/Windows/printers_data.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:flutter_thermal_printer/flutter_thermal_printer.dart that imports:
  • package:flutter_thermal_printer/Windows/window_printer_manager.dart that imports:
  • package:flutter_thermal_printer/Windows/printers_data.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:flutter_thermal_printer/flutter_thermal_printer.dart that imports:
  • package:flutter_thermal_printer/Others/other_printers_manager.dart that imports:
  • package:flutter_thermal_printer/utils/printer.dart that imports:
  • package:flutter_blue_plus/flutter_blue_plus.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_thermal_printer/flutter_thermal_printer.dart that imports:
  • package:flutter_thermal_printer/Windows/window_printer_manager.dart that imports:
  • package:flutter_thermal_printer/Windows/printers_data.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_thermal_printer/flutter_thermal_printer.dart that imports:
  • package:flutter_thermal_printer/Others/other_printers_manager.dart that imports:
  • package:flutter_thermal_printer/utils/printer.dart that imports:
  • package:flutter_blue_plus/flutter_blue_plus.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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
esc_pos_utils_plus ^2.0.4 2.0.4 2.0.4
ffi ^2.1.3 2.1.3 2.1.3
flutter flutter 0.0.0 0.0.0
flutter_blue_plus ^1.33.4 1.33.5 1.33.5
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
win32 ^5.6.0 5.7.0 5.7.0
win_ble ^1.1.1 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.0
crypto - 3.0.6 3.0.6
csslib - 1.0.0 1.0.0
html - 0.15.4 0.15.4
image - 4.3.0 4.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider - 2.1.4 2.1.4
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.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
xdg_directories - 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.

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.13, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.