pb_thermal_printers 1.1.0 copy "pb_thermal_printers: ^1.1.0" to clipboard
pb_thermal_printers: ^1.1.0 copied to clipboard

Ticket printing for android, location permission is not requested to connect the printer

2
likes
130/ 160
pub points
23
downloads

We analyzed this package 3 days ago, and awarded it 130 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: pb_thermal_printers,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: pb_thermal_printers.

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: BSD-3-Clause.

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

23 out of 68 API elements (33.8 %) have documentation comments.

Some symbols that are missing documentation: post_code, post_code.AlignPos, post_code.BarcodeType, post_code.FontSize, post_code.PosCutMode.

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

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:pb_thermal_printers/post_code.dart that declares support for platforms: Android, iOS, Windows.

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

Package does not support platform `Android`.

Because:

  • package:pb_thermal_printers/print_bluetooth_thermal.dart that imports:
  • package:pb_thermal_printers/print_bluetooth_thermal_windows.dart that imports:
  • package:win_ble/win_file.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:pb_thermal_printers/print_bluetooth_thermal.dart that imports:
  • package:pb_thermal_printers/print_bluetooth_thermal_windows.dart that imports:
  • package:win_ble/win_file.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:pb_thermal_printers/print_bluetooth_thermal.dart that imports:
  • package:pb_thermal_printers/print_bluetooth_thermal_windows.dart that imports:
  • package:win_ble/win_file.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full 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/pb_thermal_printers/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 5 issues. Showing the first 2:

WARNING: Unused import: 'package:flutter/services.dart'.

lib/post_code.dart:2:8

  ╷
2 │ import 'package:flutter/services.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: Unused import: 'package:flutter/foundation.dart'.

lib/print_bluetooth_thermal.dart:3:8

  ╷
3 │ import 'package:flutter/foundation.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/print_bluetooth_thermal.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
win_ble ^1.1.1 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
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
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.1.4 2.1.5
xdg_directories - 1.1.0 1.1.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:
2
likes
130
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

Ticket printing for android, location permission is not requested to connect the printer

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, win_ble

More

Packages that depend on pb_thermal_printers