quick_print 1.0.1 copy "quick_print: ^1.0.1" to clipboard
quick_print: ^1.0.1 copied to clipboard

A comprehensive Flutter package for handling PDF printing across different platforms and devices, supporting various printer types including ESC/POS, Sunmi, Bluetooth, USB, and system printers.

80/ 160
pub points
96
downloads

We analyzed this package 4 days ago, and awarded it 80 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

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Documentation URL doesn't exist.

At the time of the analysis https://pub.dev/documentation/quick_print/latest/ was unreachable. Make sure that the website is reachable via HEAD requests.

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
0 / 20trigger folding of the section

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

OUT: Documenting quick_print... Discovering libraries... ERR: dartdoc 8.3.4 (/tmp/analyzerEHLTHQ/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.9.2.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/analyzerEHLTHQ/pub-cache/h[...] #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:215:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:202:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:80:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:202:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:290:22)

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:quick_print/quick_print.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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:quick_print/quick_print.dart that imports:
  • package:quick_print/src/service/printer_discovery_service.dart that imports:
  • package:win_ble/win_file.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:quick_print/quick_print.dart that imports:
  • package:quick_print/src/service/printer_discovery_service.dart that imports:
  • package:win_ble/win_file.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:quick_print/quick_print.dart that imports:
  • package:quick_print/src/service/printer_discovery_service.dart that imports:
  • package:quick_print/src/models/printer_model/use_printer_model.dart that imports:
  • package:quick_print/src/enums/printer_device_type.dart that imports:
  • package:quick_print/src/service/printer_device_factory.dart that imports:
  • package:quick_print/src/printers/use_printer.dart that imports:
  • package:flutter_pos_printer_platform_image_3_sdt/flutter_pos_printer_platform_image_3_sdt.dart that imports:
  • package:flutter_pos_printer_platform_image_3_sdt/src/printer_manager.dart that imports:
  • package:flutter_pos_printer_platform_image_3_sdt/src/connectors/bluetooth_universal.dart that imports:
  • package:universal_ble/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble.dart that imports:
  • package:universal_ble/src/universal_ble_web/universal_ble_web.dart that imports:
  • package:flutter_web_bluetooth/flutter_web_bluetooth.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:quick_print/quick_print.dart that imports:
  • package:quick_print/src/service/printer_discovery_service.dart that imports:
  • package:win_ble/win_file.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:quick_print/quick_print.dart that imports:
  • package:quick_print/src/service/printer_discovery_service.dart that imports:
  • package:win_ble/win_file.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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

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

Found 4 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'package:sunmi_printer_plus/core/enums/enums.dart'.

lib/src/printers/sunmi_printer.dart:9:8

  ╷
9 │ import 'package:sunmi_printer_plus/core/enums/enums.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: Target of URI doesn't exist: 'package:sunmi_printer_plus/core/sunmi/sunmi_printer.dart'.

lib/src/printers/sunmi_printer.dart:10:8

   ╷
10 │ import 'package:sunmi_printer_plus/core/sunmi/sunmi_printer.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
device_info_plus ^11.4.0 11.5.0 12.1.0
esc_pos_utils_plus ^2.0.4 2.0.4 2.0.4
flutter_pos_printer_platform_image_3_sdt ^1.2.12 1.2.24 1.2.24
image ^4.5.4 4.5.4 4.5.4
path_provider ^2.1.5 2.1.5 2.1.5
pdf ^3.11.3 3.11.3 3.11.3
pdfx ^2.9.0 2.9.2 2.9.2
printing ^5.14.2 5.14.2 5.14.2
sunmi_printer_plus ^4.1.0 4.1.1 4.1.1
win_ble ^1.1.1 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
barcode - 2.2.9 2.2.9
bidi - 2.0.13 2.0.13
bluez - 0.8.3 0.8.3
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dbus - 0.7.11 0.7.11
device_info_plus_platform_interface - 7.0.3 7.0.3
enum_to_string - 2.2.1 2.2.1
extension - 0.6.0 0.6.0
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_web_bluetooth - 1.1.0 1.1.0
gbk_codec - 0.4.0 0.4.0
hex - 0.2.0 0.2.0
html - 0.15.6 0.15.6
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
network_info_plus - 6.1.4 7.0.0
network_info_plus_platform_interface - 2.0.2 2.0.2
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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
pdf_widget_wrapper - 1.0.4 1.0.4
permission_handler - 12.0.1 12.0.1
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
petitparser - 7.0.1 7.0.1
photo_view - 0.15.0 0.15.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
qr - 3.0.2 3.0.2
rxdart - 0.27.7 0.28.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_ble - 0.19.0 0.21.1
universal_platform - 1.1.0 1.1.0
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
win32_registry - 2.1.0 2.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^11.4.0` on device_info_plus does not support the stable version `12.0.0`, that was published 12 days ago.

When device_info_plus is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions device_info_plus to update the constraint.

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.23, Flutter 3.35.4, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
36
likes
80
points
96
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter package for handling PDF printing across different platforms and devices, supporting various printer types including ESC/POS, Sunmi, Bluetooth, USB, and system printers.

Repository (GitHub)
View/report issues
Contributing

Topics

#thermal-printer #bluetooth-printer #usb-printer #sunmi-printer #system-printer

License

MIT (license)

Dependencies

device_info_plus, esc_pos_utils_plus, flutter, flutter_pos_printer_platform_image_3_sdt, image, path_provider, pdf, pdfx, printing, sunmi_printer_plus, win_ble

More

Packages that depend on quick_print