printing 5.13.2 copy "printing: ^5.13.2" to clipboard
printing: ^5.13.2 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.

1588
likes
110/ 160
pub points
100%
popularity

We analyzed this package 16 hours ago, and awarded it 110 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/DavBfr/dart_pdf/issues was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

200 out of 248 API elements (80.6 %) have documentation comments.

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

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

failed
Platform support
20 / 20trigger folding of the section

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 Web

Because:

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

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
Pass static analysis
0 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

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

lib/printing_web.dart:132:19

    ╷
132 │         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:135:19

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

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
ffi >=1.1.0 <3.0.0 2.1.3 2.1.3
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
http >=0.13.0 <2.0.0 1.2.2 1.2.2
image ^4.1.0 4.3.0 4.3.0
meta >=1.3.0 <2.0.0 1.15.0 1.16.0
pdf ^3.10.0 3.11.1 3.11.1
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 ^1.0.0 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
async - 2.12.0 2.12.0
barcode - 2.2.8 2.2.8
bidi - 2.0.12 2.0.12
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.0
crypto - 3.0.6 3.0.6
http_parser - 4.0.2 4.1.0
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
path_parsing - 1.0.1 1.0.1
petitparser - 6.0.2 6.0.2
qr - 3.0.2 3.0.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.0

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.13, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

1588
likes
110
pub points
100%
popularity
screenshot

Publisher

verified publishernfet.net

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.

Homepage
Repository (GitHub)
View/report issues
Contributing

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