bt_thermal_printer 0.0.1 copy "bt_thermal_printer: ^0.0.1" to clipboard
bt_thermal_printer: ^0.0.1 copied to clipboard

The bt_thermal_printer package is a Flutter package designed to facilitate the integration of Bluetooth thermal printers into Flutter applications. It provides functionalities for scanning Bluetooth d [...]

120/ 160
pub points
19
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/dsaakash/bt_thermal_printer was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

1 out of 5 API elements (20.0 %) have documentation comments.

Some symbols that are missing documentation: bt_thermal_printer, bt_thermal_printer.BTthermalprinter, bt_thermal_printer.BTthermalprinter.BTthermalprinter.new, bt_thermal_printer.BTthermalprinter.title.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:bt_thermal_printer/bt_thermal_printer.dart that imports:
  • package:bt_thermal_printer/src/bt_thermal_printer.dart that imports:
  • package:esc_pos_bluetooth/esc_pos_bluetooth.dart that imports:
  • package:esc_pos_bluetooth/src/printer_bluetooth_manager.dart that imports:
  • package:flutter_bluetooth_basic/flutter_bluetooth_basic.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:bt_thermal_printer/bt_thermal_printer.dart that imports:
  • package:bt_thermal_printer/src/bt_thermal_printer.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:bt_thermal_printer/bt_thermal_printer.dart that imports:
  • package:bt_thermal_printer/src/bt_thermal_printer.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `Web`.

Because:

  • package:bt_thermal_printer/bt_thermal_printer.dart that imports:
  • package:bt_thermal_printer/src/bt_thermal_printer.dart that imports:
  • package:esc_pos_bluetooth/esc_pos_bluetooth.dart that imports:
  • package:esc_pos_bluetooth/src/printer_bluetooth_manager.dart that imports:
  • package:flutter_bluetooth_basic/flutter_bluetooth_basic.dart that declares support for platforms: Android, iOS.
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

/tmp/pana_JWJCHZ/lib/src/bt_thermal_printer.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest Notes
charset_converter ^2.0.0 2.3.0 2.3.0
cupertino_icons ^1.0.6 1.0.8 1.0.8
esc_pos_bluetooth ^0.4.1 0.4.1 0.4.1
esc_pos_utils ^1.1.0 1.1.0 1.1.0
flutter_blue ^0.8.0 0.8.0 0.8.0
flutter_blue_plus ^1.31.17 1.34.5 2.1.0
flutter_bluetooth_basic ^0.1.7 0.1.7 0.1.7
image ^3.0.2 3.3.0 4.7.2
intl ^0.17.0 0.17.0 0.20.2
oktoast ^3.0.0 3.4.0 3.4.0
path_provider ^2.0.2 2.1.5 2.1.5
permission_handler ^11.3.1 11.4.0 12.0.1
qr_flutter ^4.0.0 4.1.0 4.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
gbk_codec - 0.4.0 0.4.0
hex - 0.2.0 0.2.0
html - 0.15.6 0.15.6
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.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
permission_handler_android - 12.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
protobuf - 2.1.0 6.0.0
qr - 3.0.2 3.0.2
rxdart - 0.26.0 0.28.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.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 4 issues. Showing the first 2:

The constraint `^1.31.17` 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.

The constraint `^3.0.2` on image does not support the stable version `4.0.0`.

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

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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

The bt_thermal_printer package is a Flutter package designed to facilitate the integration of Bluetooth thermal printers into Flutter applications. It provides functionalities for scanning Bluetooth devices, connecting to printers, and printing receipts or tickets. This package is ideal for developers looking to add thermal printing capabilities to their Flutter apps, such as POS systems, ticketing apps, and receipt printing solutions.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

charset_converter, cupertino_icons, esc_pos_bluetooth, esc_pos_utils, flutter, flutter_blue, flutter_blue_plus, flutter_bluetooth_basic, image, intl, oktoast, path_provider, permission_handler, qr_flutter

More

Packages that depend on bt_thermal_printer