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

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

67
likes
130/ 160
pub points
92%
popularity

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

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 687831 elements... Initialized dartdoc with 1405 libraries Generating docs for library flutter_bluetooth_printer.dart from package:flutter_bluetooth_printer/flutter_bluetooth_printer.dart... Generating docs for library flutter_bluetooth_printer_library.dart from package:flutter_bluetooth_printer/flutter_bluetooth_printer_library.dart... Documented 2 public libraries in 81.0 seconds ERR: warning: flutter_bluetooth_printer has no library level documentation comments from flutter_bluetooth_printer: (file:///tmp/pana_AHWMSP/lib/flutter_bluetooth_printer_library.dart:1:9) error: file already written at "flutter_bluetooth_printer/flutter_bluetooth_printer-library.html" for symbol flutter_bluetooth_printer: (file:///tmp/pana_AHWMSP/lib/flutter_bluetooth_printer_library.dart:1:9) conflicting with file already generated by flutter_bluetooth_printer: (file:///tmp/pana_AHWMSP/lib/flutter_bluetooth_printer.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 [11 more lines]

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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.

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.

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 14 issues. Showing the first 2:

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

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

lib/src/commands.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/commands.dart

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
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
flutter_bluetooth_printer_web ^1.1.0 1.1.1 1.1.1
image >=4.1.7 4.3.0 4.3.0
plugin_platform_interface ^2.1.3 2.1.8 2.1.8
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.1
crypto - 3.0.6 3.0.6
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.99 0.0.99
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.