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

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

10
likes
150/ 160
pub points
1.36k
downloads

We analyzed this package 2 days ago, and awarded it 150 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/CatHood0/flutter_quill_to_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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

58 out of 238 API elements (24.4 %) have documentation comments.

Some symbols that are missing documentation: abstract_converter, abstract_converter.Converter.document, attribute_functions, attribute_functions.AttrBlockFunctions.getAlignedHeaderBlock, attribute_functions.AttrBlockFunctions.getAlignedParagraphBlock.

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

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

lib/converter/configurator/pdf/pdf_configurator.dart:190:24

    ╷
190 │     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 'IMAGE_LOCAL_STORAGE_PATH_PATTERN' isn't a lowerCamelCase identifier.

lib/core/constant/constants.dart:9:23

  ╷
9 │   static final RegExp IMAGE_LOCAL_STORAGE_PATH_PATTERN =
  │                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/constant/constants.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
collection ^1.18.0 1.19.0 1.19.1
cross_file ^0.3.3+6 0.3.4+2 0.3.4+2
dart_quill_delta ^10.4.5 10.8.3 10.8.3
dio ^5.6.0 5.7.0 5.7.0
flutter_quill_delta_easy_parser ^1.0.4 1.0.4 1.0.4
html ^0.15.4 0.15.5 0.15.5
html_unescape ^2.0.0 2.0.0 2.0.0
numerus ^2.2.0 2.3.0 2.3.0
path_provider ^2.1.4 2.1.5 2.1.5
pdf ^3.11.1 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 4.0.2
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.4.0
charcode - 1.4.0 1.4.0
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
equatable - 2.0.7 2.0.7
ffi - 2.1.3 2.1.3
flutter - 0.0.0 0.0.0
http_parser - 4.1.1 4.1.1
image - 4.3.0 4.5.2
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.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
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.0 0.0.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
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.

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.17, Dart 3.6.0.

Check the analysis log for details.

10
likes
150
points
1.36k
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

Topics

#pdf #quill-delta #pdf-widgets #converter #pdf-converter

Documentation

API reference

License

MIT (license)

Dependencies

collection, cross_file, dart_quill_delta, dio, flutter_quill_delta_easy_parser, html, html_unescape, numerus, path_provider, pdf, universal_html

More

Packages that depend on flutter_quill_to_pdf