flutter_quill_to_pdf 1.2.2 copy "flutter_quill_to_pdf: ^1.2.2" to clipboard
flutter_quill_to_pdf: ^1.2.2 copied to clipboard

Create PDF'S using deltas from Quill, with configurable attributes, fonts, and custom pdf widgets

10
likes
130/ 160
pub points
85%
popularity

We analyzed this package 7 days ago, and awarded it 130 pub points (of a possible 160):

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

10/10 points: Provide a valid pubspec.yaml

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: MIT.

partial
Provide documentation
10 / 20trigger folding of the section

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

116 out of 740 API elements (15.7 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: abstract_converter, abstract_converter.Converter.document, abstract_converter.Converter.rules, array, array.ArraySlice.

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 does not support platform `Web`.

Because:

  • package:flutter_quill_to_pdf/flutter_quill_to_pdf.dart that imports:
  • package:flutter_quill_to_pdf/converter/configurator/pdf/pdf_configurator.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_quill_to_pdf/flutter_quill_to_pdf.dart that imports:
  • package:flutter_quill_to_pdf/core/extensions/pdf_extension.dart that imports:
  • package:pdf/widgets.dart that imports:
  • package:pdf/src/widgets/wrap.dart that imports:
  • package:pdf/pdf.dart that imports:
  • package:pdf/src/pdf/obj/ttffont.dart that imports:
  • package:pdf/src/pdf/obj/unicode_cmap.dart that imports:
  • package:pdf/src/pdf/obj/object_stream.dart that imports:
  • package:pdf/src/pdf/obj/object.dart that imports:
  • package:pdf/src/pdf/document.dart that imports:
  • package:pdf/src/pdf/io/vm.dart that imports:
  • dart:isolate

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 77 issues. Showing the first 2:

INFO: The variable name 'decided_style' isn't a lowerCamelCase identifier.

lib/converter/configurator/pdf/pdf_configurator.dart:253:26

    ╷
253 │       final pw.TextStyle decided_style = style?.copyWith(
    │                          ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/converter/configurator/pdf/pdf_configurator.dart

INFO: The variable name 'decided_style' isn't a lowerCamelCase identifier.

lib/converter/configurator/pdf/pdf_configurator.dart:521:26

    ╷
521 │       final pw.TextStyle decided_style = style?.copyWith(
    │                          ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/converter/configurator/pdf/pdf_configurator.dart

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

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

Package Constraint Compatible Latest
collection ^1.16.0 1.18.0 1.19.1
cross_file ^0.3.3+6 0.3.4+2 0.3.4+2
dart_quill_delta ^9.5.1 9.6.0 10.8.2
dio ^5.4.3+1 5.7.0 5.7.0
flutter flutter 0.0.0 0.0.0
html ^0.15.0 0.15.5 0.15.5
html_unescape ^2.0.0 2.0.0 2.0.0
meta ^1.12.0 1.15.0 1.16.0
path_provider ^2.1.3 2.1.5 2.1.5
pdf ^3.11.0 3.11.1 3.11.1
universal_html ^2.2.4 2.2.4 2.2.4
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
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.3.1
charcode - 1.3.1 1.3.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
diff_match_patch - 0.4.1 0.4.1
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
http_parser - 4.0.2 4.1.1
image - 4.3.0 4.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
qr - 3.0.2 3.0.2
quiver - 3.2.2 3.2.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

The constraint `^9.5.1` on dart_quill_delta does not support the stable version `10.0.0`.

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

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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

10
likes
130
pub points
85%
popularity
screenshot

Publisher

unverified uploader

Create PDF'S using deltas from Quill, with configurable attributes, fonts, and custom pdf widgets

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, cross_file, dart_quill_delta, dio, flutter, html, html_unescape, meta, path_provider, pdf, universal_html

More

Packages that depend on flutter_quill_to_pdf