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

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

7
likes
150/ 160
pub points
84%
popularity

We analyzed this package 22 hours 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

59 out of 244 API elements (24.2 %) 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 3 issues. Showing the first 2:

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

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

    ╷
204 │     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.18.0 1.19.0
cross_file ^0.3.3+6 0.3.4+2 0.3.4+2
dart_quill_delta ^10.5.13 10.8.0 10.8.0
dio ^5.7.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.4 0.15.4
html_unescape ^2.0.0 2.0.0 2.0.0
numerus ^2.2.0 2.2.0 2.2.0
path_provider ^2.1.4 2.1.4 2.1.4
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 3.6.1
async - 2.11.0 2.11.0
barcode - 2.2.8 2.2.8
bidi - 2.0.12 2.0.12
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
crypto - 3.0.5 3.0.5
csslib - 1.0.0 1.0.0
diff_match_patch - 0.4.1 0.4.1
dio_web_adapter - 2.0.0 2.0.0
equatable - 2.0.5 2.0.5
ffi - 2.1.3 2.1.3
flutter - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.0
image - 4.2.0 4.2.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.0
path_parsing - 1.0.1 1.0.1
path_provider_android - 2.2.10 2.2.10
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.5 3.1.5
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.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.3.2 1.3.2
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.0.4 1.0.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.12, Dart 3.5.3.

Check the analysis log for details.