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

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

32
likes
155/ 160
pub points
1.75k
downloads

We analyzed this package 6 days 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

92 out of 302 API elements (30.5 %) 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.

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.

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.34.5 1.34.5 1.34.5
image ^4.3.0 4.5.2 4.5.2
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
screenshot ^3.0.0 3.0.0 3.0.0
win32 ^5.9.0 5.9.0 5.9.0
win_ble ^1.1.1 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest
archive - 4.0.2 4.0.2
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
html - 0.15.5 0.15.5
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.5 2.1.5
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
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
posix - 6.0.1 6.0.1
sky_engine - 0.0.0 0.0.0
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.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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.