printing_plus 0.0.4 copy "printing_plus: ^0.0.4" to clipboard
printing_plus: ^0.0.4 copied to clipboard

Plugin that allows Flutter apps to generate and print documents to compatible printers on Android, iOS, macOS, Windows, and Linux, as well as web print.

3
likes
110/ 160
pub points
55
downloads

We analyzed this package 11 hours ago, and awarded it 110 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: Apache-2.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

200 out of 249 API elements (80.3 %) have documentation comments.

Some symbols that are missing documentation: printing, printing.OutputType, printing.PdfActionBarTheme, printing.PdfActionBarTheme.actionSpacing, printing.PdfActionBarTheme.alignment.

Passed check 10/10 points: Package has an example and has no issues with screenshots

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

Package not compatible with platform Android

Because:

  • package:printing_plus/printing_web.dart that imports:
  • package:printing_plus/src/pdfjs.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform iOS

Because:

  • package:printing_plus/printing_web.dart that imports:
  • package:printing_plus/src/pdfjs.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Windows

Because:

  • package:printing_plus/printing_web.dart that imports:
  • package:printing_plus/src/pdfjs.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Linux

Because:

  • package:printing_plus/printing_web.dart that imports:
  • package:printing_plus/src/pdfjs.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform macOS

Because:

  • package:printing_plus/printing_web.dart that imports:
  • package:printing_plus/src/pdfjs.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Web

Because:

  • package:printing_plus/printing.dart that imports:
  • package:printing_plus/src/printing.dart that imports:
  • package:printing_plus/src/interface.dart that imports:
  • package:printing_plus/src/method_channel.dart that imports:
  • package:printing_plus/src/print_job.dart that imports:
  • dart:io

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 5 issues. Showing the first 2:

ERROR: The operator '[]=' isn't defined for the type 'Window'.

lib/printing_web.dart:133:19

    ╷
133 │         web.window['module'] = module;
    │                   ^^^^^^^^^^
    ╵

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

ERROR: The operator '[]=' isn't defined for the type 'Window'.

lib/printing_web.dart:136:19

    ╷
136 │         web.window['exports'] = exports;
    │                   ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/printing_web.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
ffi >=1.1.0 <3.0.0 2.1.4 2.1.4
http >=0.13.0 <2.0.0 1.3.0 1.3.0
image ^4.1.0 4.5.4 4.5.4
meta >=1.3.0 <2.0.0 1.16.0 1.16.0
pdf ^3.11.1 3.11.3 3.11.3
pdf_widget_wrapper >=1.0.4 <2.0.0 1.0.4 1.0.4
plugin_platform_interface ^2.1.0 2.1.8 2.1.8
web >=0.5.1 <2.0.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.6 4.0.6
async - 2.13.0 2.13.0
barcode - 2.2.9 2.2.9
bidi - 2.0.13 2.0.13
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.1.0 6.1.0
posix - 6.0.2 6.0.2
qr - 3.0.2 3.0.2
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5
xml - 6.5.0 6.5.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:
3
likes
110
points
55
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

Plugin that allows Flutter apps to generate and print documents to compatible printers on Android, iOS, macOS, Windows, and Linux, as well as web print.

Repository (GitHub)

Topics

#pdf #printer #print #printing #report

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

ffi, flutter, flutter_web_plugins, http, image, meta, pdf, pdf_widget_wrapper, plugin_platform_interface, web

More

Packages that depend on printing_plus