NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #3736 most downloaded on pub.dev
Create PDF'S using deltas from Quill, with configurable attributes, fonts, and custom pdf widgets
Last release 1 years ago
25 Jul 2025
Release timing varies
gaps range from 8 days to 4 months
Most releases are documented
notes for 29 of 35 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
35 releases · first in 2024
Feat: support for apply striketrough style on checked elements and customize them by @CatHood0 in #37
Full Changelog: V-2.3.8...V-2.3.9
Chore: moved http package to the example app.
http package to the example app.CONTRIBUTING guide.Full Changelog: V-2.3.7...V-2.3.8
One column per month.
@Faizan-26 made their first contribution in #28
Full Changelog: V-2.3.6...V-2.3.7
Fix: pageBuilder is not being passed correctly to PdfService class by @CatHood0 in #24
pageBuilder is not being passed correctly to PdfService class by @CatHood0 in https://github.com/CatHood0/flutter_quill_to_pdf/pull/24zapfDingBats is not being added to the fonts by @CatHood0 in https://github.com/CatHood0/flutter_quill_to_pdf/pull/26Chore: support for header styles from ThemeData by @CatHood0 in #23
ThemeData by @CatHood0 in #23kDefaultHeadingSizes in Constant class.IMAGE_LOCAL_STORAGE_PATH_PATTERN.Full Changelog: V-2.3.4...V-2.3.5
Fix: wrong method declaration of the onDetectBlockquote builder in example code of PDFConverter .
onDetectBlockquote builder in example code of PDFConverter.ThemeData is not being passed to the PdfDocument.maxPages in PdfService to be part of Constant class, it now is called kDefaultMaxPages.DocumentOptions to add some extra information to the pdf using documentOptions in PDFConverter.Full Changelog: V-2.3.3...V-2.3.4
Fix: links are not working as expected when try to interact with them issue: #18
Full Changelog: V-2.3.2...V-2.3.3
Fix: when a Line contains alignment and header attributes, onDetectHeaderBlock always will be ignored (even if it's passed)
Line contains alignment and header attributes, onDetectHeaderBlock always will be ignored (even if it's passed)PdfService.Full Changelog: V-2.3.1...V-2.3.2
Fix: url of the images in README
Chore(breaking changes): reorganized project structure.
ThemeData from PDF not being applied to the pdf document.ThemeData not being applied as expected.textDirection is passed in PDFConverter._applyBlockAttributes() in PDFService class.createDocumentFile since we cannot manage the errors with file permissions.blockquotePaddingLeft and blockquotePaddingRight and replaced with blockquotePadding.blockquoteDividerColor replaced with blockquoteBoxDecoration.blockQuotethicknessDividerColor to blockquotethicknessDividerColor.blockQuoteBackgroundColor to blockquoteBackgroundColor.blockQuoteTextStyle to blockquoteTextStyle.IMAGE_FROM_URL_PATTERN to kDefaultImageUrlDetector in Constant class._applyBlockAttributes() to _defaultLineBuilderForBlocks() in PDFService class._applyInlineParagraph() to _defaultLineBuilderForInlines() in PDFService class.fixCommonErrorInsertsInRawDelta and isTotallyEmpty methods since them are not longer used into the project._defaultEmbedLineBuilder() in PDFService class._applyCustomBlocks() to add all the necessary logic for add custom widgets from the custom callbacks in PDFService class.md_extension file to header_level_extension in extensions.MdHeaderLevelExtension to HeaderLevelResolverExtension in extensions.extraArgs param to all PDFWidgetBuilder.IMAGE_LOCAL_STORAGE_PATH_PATTERN since only works for android devices.DeltaAttributesOptions, overrideAttributesPassedByUser, deltaOptionalAttr and shouldProcessDeltas in PDFConverter, since its implementation is not needed for the current target of the package.isFromLocalStorage method to detect is the input passed is a storage path.onDetectImageUrl to allow us create our custom implementation for get bytes from a external url.imageConstraints to create a default width and height for images when them has not that attributes specified.customCodeHighlightTheme. Check about highlight_utils.onDetectErrorInImage.onDetectVideoBlock.TextStyle for inline-code fragments using inlineCodeStyle.listLeadingBuilder.enableCodeBlockHighlighting and isLightMode.customHeadingSizes.listTypeWidget.Full Changelog: V-2.2.9...V-2.3.0
Fix: replace bullet unicode text to bullet point widget by @ToddZeil in https://github.com/CatHood0/flutter_quill_to_pdf/pull/15
Fix: rendering images in web and file generating (thanks to johannesvedder for his contributation).
generateWidget methodChore: deprecated all onRequestFont before 2.2.7 and replaced them with onRequestFontFamily
onRequestFont before 2.2.7 and replaced them with onRequestFontFamilyFix: IMAGE_LOCAL_STORAGE_PATH_PATTERN was improved to detect more cases
IMAGE_LOCAL_STORAGE_PATH_PATTERN was improved to detect more casesFix: Color bugs and list block with its leading sizes calculation by @Paul-creator in https://github.com/CatHood0/flutter_quill_to_pdf/pull/12
Full Changelog: https://github.com/CatHood0/flutter_quill_to_pdf/compare/V-2.2.4...V-2.2.5
Chore: removed deprecated instances
Full Changelog: https://github.com/CatHood0/flutter_quill_to_pdf/compare/V-2.2.3...V-2.2.4
Fix: List block doesn't span to the next page if needed
List block doesn't span to the next page if neededImage block doesn't appears with any AlignmentFix: Paragraph with images are ignored
Fix: if there are images together a Paragraph these will be displayed badly on the PDF
Paragraph these will be displayed badly on the PDFFeat: Support for multilevel List
Listdart:html package doesn't let build project exampleChore: updated dependency flutter_quill_delta_easy_parser to fix some new line issues
flutter_quill_delta_easy_parser to fix some new line issuesNothing published for this version
Fix: Image embed block attributes are ignored
Image embed block attributes are ignoredgetListBlockcss.dartChore: was deprecated most of the methods and params that are no longer used
onRequestFonts are optionalPdfWidgetGenerator was replaced by PDFWidgetBuildervideo block is detected as a image blockcodeblock has not padding on it's contentblockGenerators methodheader block indentation multipliercustomBuilders again returned to replace customCOnvertersdeprecated most of the methods and params that are no longer usedChore: deprecated customConverters param from PDFConverter to avoid using after this release
¡BREAKING CHANGES!
The way of build the PDF's it's different and better
vsc_quill_delta_to_html and html2md with RegExp patterns)The PDF is builded: first the Delta is converted to a custom implementation, then, after it will be transformed to a Markdown with some HTML styles to avoid losing align attrs or colors.
On the creation of the PDF (using PdfService) all of this HTML with Markdown are detected using RegExp that made more difficult had a correct performance. Some devices even could crash on the building of that PDF way.
flutter_quill_delta_easy_parser)Transform directly a Delta to a Structured-Document type that it's more easy to be readed by a human, and getting the attributes from any Line or the block attributes from the current Paragraph.
createDocument method.customConverters param from PDFConverter to avoid using after this releaseRegExp used on Constant class.MarkdownRules class since is not necessary now.vsc_quill_delta_to_html and html2md since are not used now.HTMLConverterOptions local implementation since is not used now.setCustomRules method from ConverterBy now this version is not using CustomPDFWidget or PdfWidgetGenerator. This is just a temporary issue that will be fixed on next releases
[Fix] delta to html doesn't detect double values
[BREAKING CHANGES] rgbColor was renamed as hexColor and now is an int at DeltaAttributesOptions
HTMLConverterOptions to ConverterOptions.forEmail()Writed more documentation about classes and functions
renderCustomCallback param from convertDeltaToHtml//it looks like
String convertDeltaToHtml(Delta delta, [ConverterOptions? options,String Function(DeltaInsertOp customOp, DeltaInsertOp? contextOp)? customRenderCallback]) {
final QuillDeltaToHtmlConverter converterDeltaToHTML = QuillDeltaToHtmlConverter(
delta.toJson(),
options ?? HTMLConverterOptions.options(),
);
converterDeltaToHTML.renderCustomWith = customRenderCallback;
return converterDeltaToHTML.convert();
}
///If you need [customize] exactly how the [code block looks], then you use this [theme]
final pw.TextStyle? codeBlockTextStyle;
///If you need just a different [font] to show your code blocks, use this font [(by default is pw.Font.courier())]
final pw.Font? codeBlockFont;
///Customize the background color of the code block
final PdfColor? codeBlockBackgroundColor;
///Customize the style of the num lines in code block
final pw.TextStyle? codeBlockNumLinesTextStyle;
///Define the text style of the general blockquote. [This overrides any style detected like: line-height, size, font families, color]
final pw.TextStyle? blockQuoteTextStyle;
///Define the left space between divider and text
final double? blockQuotePaddingLeft;
final double? blockQuotePaddingRight;
///Define the width of the divider
final double? blockQuotethicknessDividerColor;
///Customize the background of the blockquote
final PdfColor? blockQuoteBackgroundColor;
///Customize the left/right divider color to blockquotes
final PdfColor? blockQuoteDividerColor;
[Fix] README bad dependecy name
Nothing published for this version
Nothing published for this version
[Fix] bad unnecessary args remove
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →