flutter_bluetooth_printer 2.17.1 copy "flutter_bluetooth_printer: ^2.17.1" to clipboard
flutter_bluetooth_printer: ^2.17.1 copied to clipboard

Image based printing for bluetooth thermal printer, support for iOS and Android.

78
likes
120/ 160
pub points
1.99k
downloads

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

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: flutter_bluetooth_printer,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has multiple matching pubspec.yaml with name: flutter_bluetooth_printer.

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

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

OUT: Documenting flutter_bluetooth_printer... Discovering libraries... Linking elements... Precaching local docs for 704656 elements... Initialized dartdoc with 1450 libraries Generating docs for library flutter_bluetooth_printer_library.dart from package:flutter_bluetooth_printer/flutter_bluetooth_printer_library.dart... Generating docs for library flutter_bluetooth_printer.dart from package:flutter_bluetooth_printer/flutter_bluetooth_printer.dart... Documented 2 public libraries in 86.7 seconds ERR: warning: flutter_bluetooth_printer has no library level documentation comments from flutter_bluetooth_printer: (file:///tmp/pana_HQIIOV/lib/flutter_bluetooth_printer_library.dart:1:1) error: file already written at "flutter_bluetooth_printer/index.html" for symbol flutter_bluetooth_printer: (file:///tmp/pana_HQIIOV/lib/flutter_bluetooth_printer.dart:1:1) conflicting with file already generated by flutter_bluetooth_printer: (file:///tmp/pana_HQIIOV/lib/flutter_bluetooth_printer_library.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'flutter_bluetooth_printer' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or class name (if appropriate) of one of the conflicting items can resolve the conflict. Alternatively, use the [16 more lines]

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutter_bluetooth_printer/flutter_bluetooth_printer.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_bluetooth_printer/flutter_bluetooth_printer.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_bluetooth_printer/flutter_bluetooth_printer.dart that declares support for platforms: Android, iOS, Web.

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional 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 iOS

It does not contain ios/flutter_bluetooth_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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 14 issues. Showing the first 2:

WARNING: The declaration '_graphic' isn't referenced.

lib/src/generator.dart:87:13

87 │   List<int> _graphic(img.Image image) {
   │             ^^^^^^^^
   ╵
copied to clipboard

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

WARNING: The declaration '_encodeImage' isn't referenced.

lib/src/generator.dart:207:21

207 │   Future<List<int>> _encodeImage(Map<String, dynamic> arg) async {
    │                     ^^^^^^^^^^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/generator.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
flutter_bluetooth_printer_macos ^1.3.0 1.3.0 1.3.0
flutter_bluetooth_printer_platform_interface ^0.0.7 0.0.7 0.0.7
flutter_bluetooth_printer_web ^1.1.1 1.1.1 1.1.1
image >=4.1.7 4.5.4 4.5.4
plugin_platform_interface ^2.1.3 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.5 4.0.5
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 6.1.0
posix - 6.0.1 6.0.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.1 1.1.1
xml - 6.5.0 6.5.0

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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 12Aug 9Sep 6Oct 4Nov 1Nov 29Dec 27Jan 24Feb 21Mar 210100200300400500600700>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0
78
likes
120
points
1.99k
downloads

Publisher

verified publishermaseka.dev

Weekly Downloads

2024.09.27 - 2025.04.11

Image based printing for bluetooth thermal printer, support for iOS and Android.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_bluetooth_printer_macos, flutter_bluetooth_printer_platform_interface, flutter_bluetooth_printer_web, image, plugin_platform_interface

More

Packages that depend on flutter_bluetooth_printer