quick_print 1.0.2 copy "quick_print: ^1.0.2" to clipboard
quick_print: ^1.0.2 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.

120/ 160
pub points
67
downloads

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

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

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

94 out of 105 API elements (89.5 %) have documentation comments.

Some symbols that are missing documentation: quick_print.BluetoothPrinter.BluetoothPrinter.new, quick_print.DesktopPrinter.DesktopPrinter.new, quick_print.DesktopPrinterModel.toMap, quick_print.IPrinter.IPrinter.new, quick_print.IPrinterMixin.IPrinterMixin.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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/wifi_printer_model.dart that imports:
  • package:quick_print/src/models/printer_model/i_printer_model.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/wifi_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.
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 8 issues. Showing the first 2:

INFO: The import of 'package:quick_print/src/models/printer_model/i_printer_model.dart' is unnecessary because all of the used elements are also provided by the import of 'package:quick_print/quick_print.dart'.

lib/src/models/printer_model/bluetooth_printer_model.dart:4:8

  ╷
4 │ import 'package:quick_print/src/models/printer_model/i_printer_model.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The import of 'package:quick_print/src/models/printer_model/i_printer_model.dart' is unnecessary because all of the used elements are also provided by the import of 'package:quick_print/quick_print.dart'.

lib/src/models/printer_model/decktop_printer_model.dart:3:8

  ╷
3 │ import 'package:quick_print/src/models/printer_model/i_printer_model.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/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.3.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.25 1.2.25
image ^4.5.4 4.5.4 4.7.2
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.7 3.0.7
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 1.0.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.6.0 1.6.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.17.0 1.17.0
network_info_plus - 7.0.0 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.22 2.2.22
path_provider_foundation - 2.5.1 2.5.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
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.28.0 0.28.0
source_span - 1.10.1 1.10.1
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.21.1 1.0.0
universal_platform - 1.1.0 1.1.0
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.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`.

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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
40
likes
120
points
67
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

Documentation

API reference

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