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

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

54
likes
100/ 140
pub points
90%
popularity

We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 140):

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

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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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 678637 elements... Initialized dartdoc with 1397 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 92.5 seconds ERR: warning: private API of package:flutter_bluetooth_printer_platform_interface is reexported by libraries in other packages: from flutter_bluetooth_printer.BluetoothDevice: (file:///tmp/analyzerNHGXRF/pub-cache/hosted/20240514t110800-dot-dartlang-pub.appspot.com/flutter_bluetooth_printer_platform_interface-0.0.7/li[...] referred to by flutter_bluetooth_printer: (file:///tmp/pana_JFBBGU/lib/flutter_bluetooth_printer.dart:1:1) warning: private API of package:flutter_bluetooth_printer_platform_interface is reexported by libraries in other packages: from flutter_bluetooth_printer.BluetoothState: (file:///tmp/analyzerNHGXRF/pub-cache/hosted/20240514t110800-dot-dartlang-pub.appspot.com/flutter_bluetooth_printer_platform_interface-0.0.7/lib[...] referred to by flutter_bluetooth_printer: (file:///tmp/pana_JFBBGU/lib/flutter_bluetooth_printer.dart:1:1) warning: private API of package:flutter_bluetooth_printer_platform_interface is reexported by libraries in other packages: from flutter_bluetooth_printer.BluetoothConnectionState: (file:///tmp/analyzerNHGXRF/pub-cache/hosted/20240514t110800-dot-dartlang-pub.appspot.com/flutter_bluetooth_printer_platform_interface[...] referred to by flutter_bluetooth_printer: (file:///tmp/pana_JFBBGU/lib/flutter_bluetooth_printer.dart:1:1) warning: private API of package:flutter_bluetooth_printer_platform_interface is reexported by libraries in other packages: [29 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:flutter_bluetooth_printer/flutter_bluetooth_printer.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:flutter_bluetooth_printer/flutter_bluetooth_printer.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 15 issues. Showing the first 2:

WARNING: Unused import: 'dart:io'.

lib/flutter_bluetooth_printer_library.dart:5:8

  ╷
5 │ import 'dart:io';
  │        ^^^^^^^^^
  ╵

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

INFO: The part-of directive uses a library name.

lib/src/capabilities.dart:1:1

  ╷
1 │ part of flutter_bluetooth_printer;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
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
image >=4.1.7 4.1.7 4.1.7
plugin_platform_interface ^2.1.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.5.1 3.5.1
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.99 0.0.99
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.