drago_blue_printer 0.0.5 copy "drago_blue_printer: ^0.0.5" to clipboard
drago_blue_printer: ^0.0.5 copied to clipboard

A Flutter plugin for connecting to thermal printer via bluetooth

9
likes
130/ 160
pub points
224
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: CPL-1.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

17 out of 44 API elements (38.6 %) have documentation comments.

Some symbols that are missing documentation: drago_blue_printer, drago_blue_printer.BluetoothDevice, drago_blue_printer.BluetoothDevice.BluetoothDevice.fromMap, drago_blue_printer.BluetoothDevice.BluetoothDevice.new, drago_blue_printer.BluetoothDevice.address.

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

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

  • package:drago_blue_printer/drago_blue_printer.dart that declares support for platforms: Android, iOS, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `macOS`.

Because:

  • package:drago_blue_printer/drago_blue_printer.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, 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 macOS

It does not contain macos/drago_blue_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.

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

Found 5 issues. Showing the first 2:

INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/services.dart'.

lib/drago_blue_printer.dart:2:8

  ╷
2 │ import 'dart:typed_data';
  │        ^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/drago_blue_printer.dart:78:7

   ╷
78 │       hasAccess = await Permission.bluetoothScan.request().isGranted;
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
20 / 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
permission_handler any 12.0.0+1 12.0.0+1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
permission_handler_android - 13.0.1 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
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 9 errors:

  • UNDEFINED_GETTER - lib/drago_blue_printer.dart:71:26 - The getter 'bluetooth' isn't defined for the type 'Permission'.
  • UNDEFINED_GETTER - lib/drago_blue_printer.dart:72:34 - The getter 'bluetooth' isn't defined for the type 'Permission'.
  • UNDEFINED_GETTER - lib/drago_blue_printer.dart:73:50 - The getter 'bluetooth' isn't defined for the type 'Permission'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

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:
9
likes
130
points
224
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for connecting to thermal printer via bluetooth

Repository (GitHub)

Documentation

API reference

License

CPL-1.0 (license)

Dependencies

flutter, permission_handler

More

Packages that depend on drago_blue_printer