flutter_quill_to_pdf
Create PDF'S using deltas from Quill, with configurable attributes, fonts, and custom pdf widgets
2.3.9
4.0K downloads/mo
#4176 most downloaded on pub.dev
CatHood0/flutter_quill_to_pdf
What this package is like to depend on
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
0 releases in the last 12 months
see the full history below
Release timeline
35 releases · May 2024 to Jul 2025Releases
latest 35-
2.3.925 Jul 2025Release notes
Open source →What's Changed
- 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
Release notes
Open source →- Feat: support for apply striketrough style on checked elements and customize them by @CatHood0 in #37
-
2.3.824 Jul 2025Release notes
Open source →What's changed
- Chore: moved
httppackage to the example app. - Chore: updated dependencies to fix parsing issues.
- Chore(documentation): removed unnecessary step in
CONTRIBUTINGguide.
Full Changelog: V-2.3.7...V-2.3.8
Release notes
Open source →- Chore: moved
httppackage to the example app. - Chore: updated dependencies to fix parsing issues.
- Chore(documentation): removed unnecessary step in
CONTRIBUTINGguide.
- Chore: moved
-
2.3.724 Mar 2025Release notes
Open source →What's Changed
- Fixed #27 by @Faizan-26 in #28
New Contributors
- @Faizan-26 made their first contribution in #28
Full Changelog: V-2.3.6...V-2.3.7
Release notes
Open source →- Fix: themeData on PDF creation by @Faizan-26 in https://github.com/CatHood0/flutter_quill_to_pdf/pull/28
New Contributors
- @Faizan-26 made their first contribution in https://github.com/CatHood0/flutter_quill_to_pdf/pull/28
-
2.3.610 Mar 2025Release notes
Open source →What's Changed
- Fix:
pageBuilderis not being passed correctly toPdfServiceclass by @CatHood0 in #24 - Feat: support for customize custom icons font by @CatHood0 in #25
- Fix:
zapfDingBatsis not being added to the fonts by @CatHood0 in #26
Full Changelog: V-2.3.5...V-2.3.6
Release notes
Open source →- Fix:
pageBuilderis not being passed correctly toPdfServiceclass by @CatHood0 in https://github.com/CatHood0/flutter_quill_to_pdf/pull/24 - Fix:
zapfDingBatsis not being added to the fonts by @CatHood0 in https://github.com/CatHood0/flutter_quill_to_pdf/pull/26 - Feat: support for customize custom icons font by @CatHood0 in https://github.com/CatHood0/flutter_quill_to_pdf/pull/25
- Fix:
-
2.3.506 Mar 2025Release notes
Open source →What's Changed
- Chore: support for header styles from
ThemeDataby @CatHood0 in #23 - Chore: improved
kDefaultHeadingSizesinConstantclass. - Chore: removed
IMAGE_LOCAL_STORAGE_PATH_PATTERN.
Full Changelog: V-2.3.4...V-2.3.5
Release notes
Open source →- Chore: support for header styles from
ThemeDataby @CatHood0 in https://github.com/CatHood0/flutter_quill_to_pdf/pull/23 - Chore: improved
kDefaultHeadingSizesinConstantclass. - Chore: removed
IMAGE_LOCAL_STORAGE_PATH_PATTERN.
- Chore: support for header styles from
-
2.3.406 Mar 2025Release notes
Open source →What's changed
- Fix: wrong method declaration of the
onDetectBlockquotebuilder in example code ofPDFConverter. - Fix: links are not showing underline decoration as expected.
- Fix:
ThemeDatais not being passed to thePdfDocument. - Chore: moved value that is passed to
maxPagesinPdfServiceto be part ofConstantclass, it now is calledkDefaultMaxPages. - Feat: added
DocumentOptionsto add some extra information to the pdf usingdocumentOptionsinPDFConverter.
Full Changelog: V-2.3.3...V-2.3.4
Release notes
Open source →- Fix: wrong method declaration of the
onDetectBlockquotebuilder in example code ofPDFConverter. - Fix: links are not showing underline decoration as expected.
- Fix:
ThemeDatais not being passed to thePdfDocument. - Chore: moved value that is passed to
maxPagesinPdfServiceto be part ofConstantclass, it now is calledkDefaultMaxPages. - Feat: added
DocumentOptionsto add some extra information to the pdf usingdocumentOptionsinPDFConverter.
- Fix: wrong method declaration of the
-
2.3.305 Mar 2025Release notes
Open source →What's changed
- 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
Release notes
Open source →- Fix: links are not working as expected when try to interact with them issue: #18
-
2.3.205 Mar 2025Release notes
Open source →What's changed
- Fix: when a
Linecontains alignment and header attributes,onDetectHeaderBlockalways will be ignored (even if it's passed) - Chore: added some extra arguments for all methods that build custom pdf widgets in
PdfService.
Full Changelog: V-2.3.1...V-2.3.2
Release notes
Open source →- Fix: when a
Linecontains alignment and header attributes,onDetectHeaderBlockalways will be ignored (even if it's passed) - Chore: added some extra arguments for all methods that build custom pdf widgets in
PdfService.
- Fix: when a
-
2.3.104 Mar 2025Release notes
Open source → -
2.3.004 Mar 2025Release notes
Open source →What's changed
- Fix: issues related with detecting storage images.
- Fix: issues related with
ThemeDatafrom PDF not being applied to the pdf document. - Fix: issues related with the font size of the
ThemeDatanot being applied as expected. - Fix: wrong default code-block widget.
- Fix: wrong default list widget.
- Fix: issue where the default leading of ordered lists is not being computed correctly.
- Fix: wrong behavior if
textDirectionis passed inPDFConverter. - Fix: bad rendering of content elements by not await for
_applyBlockAttributes()inPDFServiceclass. - Fix(partially): bad rendering of content elements when directionality is RTL.
- Chore(breaking changes): reorganized project structure.
- Chore: deprecated
createDocumentFilesince we cannot manage the errors with file permissions. - Chore: deprecated
blockquotePaddingLeftandblockquotePaddingRightand replaced withblockquotePadding. - Chore: deprecated
blockquoteDividerColorreplaced withblockquoteBoxDecoration. - Chore(breaking changes): renamed
blockQuotethicknessDividerColortoblockquotethicknessDividerColor. - Chore(breaking changes): renamed
blockQuoteBackgroundColortoblockquoteBackgroundColor. - Chore(breaking changes): renamed
blockQuoteTextStyletoblockquoteTextStyle. - Chore(breaking changes): renamed
IMAGE_FROM_URL_PATTERNtokDefaultImageUrlDetectorinConstantclass. - Chore: renamed
_applyBlockAttributes()to_defaultLineBuilderForBlocks()inPDFServiceclass. - Chore: renamed
_applyInlineParagraph()to_defaultLineBuilderForInlines()inPDFServiceclass. - Chore: deprecated
fixCommonErrorInsertsInRawDeltaandisTotallyEmptymethods since them are not longer used into the project. - Chore: moved embed implementation to
_defaultEmbedLineBuilder()inPDFServiceclass. - Chore: created
_applyCustomBlocks()to add all the necessary logic for add custom widgets from the custom callbacks inPDFServiceclass. - Chore(breaking changes): renamed
md_extensionfile toheader_level_extensionin extensions. - Chore(breaking changes): renamed
MdHeaderLevelExtensiontoHeaderLevelResolverExtensionin extensions. - Chore(doc): added customization documention (only partially).
- Chore(breaking changes): added
extraArgsparam to allPDFWidgetBuilder. - Chore: deprecated
IMAGE_LOCAL_STORAGE_PATH_PATTERNsince only works for android devices. - Chore: deprecated
DeltaAttributesOptions,overrideAttributesPassedByUser,deltaOptionalAttrandshouldProcessDeltasinPDFConverter, since its implementation is not needed for the current target of the package. - Feat: added
isFromLocalStoragemethod to detect is the input passed is a storage path. - Feat: added
onDetectImageUrlto allow us create our custom implementation for get bytes from a external url. - Feat: added
imageConstraintsto create a default width and height for images when them has not that attributes specified. - Feat: added support for custom code-block highlighting theme using
customCodeHighlightTheme. Check about highlight_utils. - Feat: added support for build error images using
onDetectErrorInImage. - Feat: added support for build video widgets
onDetectVideoBlock. - Feat: added support for build a custom
TextStylefor inline-code fragments usinginlineCodeStyle. - Feat: added support for build custom leading widgets for lists using
listLeadingBuilder. - Feat: added support for code-block highlighting using
enableCodeBlockHighlightingandisLightMode. - Feat: added support for custom heading sizes using
customHeadingSizes. - Feat: added support for switch between the different versions of the default list blocks using
listTypeWidget.
Full Changelog: V-2.2.9...V-2.3.0
Release notes
Open source →- Fix: issues related with detecting storage images.
- Fix: issues related with
ThemeDatafrom PDF not being applied to the pdf document. - Fix: issues related with the font size of the
ThemeDatanot being applied as expected. - Fix: wrong default code-block widget.
- Fix: wrong default list widget.
- Fix: issue where the default leading of ordered lists is not being computed correctly.
- Fix: wrong behavior if
textDirectionis passed inPDFConverter. - Fix: bad rendering of content elements by not await for
_applyBlockAttributes()inPDFServiceclass. - Fix(partially): bad rendering of content elements when directionality is RTL.
- Chore(breaking changes): reorganized project structure.
- Chore: deprecated
createDocumentFilesince we cannot manage the errors with file permissions. - Chore: deprecated
blockquotePaddingLeftandblockquotePaddingRightand replaced withblockquotePadding. - Chore: deprecated
blockquoteDividerColorreplaced withblockquoteBoxDecoration. - Chore(breaking changes): renamed
blockQuotethicknessDividerColortoblockquotethicknessDividerColor. - Chore(breaking changes): renamed
blockQuoteBackgroundColortoblockquoteBackgroundColor. - Chore(breaking changes): renamed
blockQuoteTextStyletoblockquoteTextStyle. - Chore(breaking changes): renamed
IMAGE_FROM_URL_PATTERNtokDefaultImageUrlDetectorinConstantclass. - Chore: renamed
_applyBlockAttributes()to_defaultLineBuilderForBlocks()inPDFServiceclass. - Chore: renamed
_applyInlineParagraph()to_defaultLineBuilderForInlines()inPDFServiceclass. - Chore: deprecated
fixCommonErrorInsertsInRawDeltaandisTotallyEmptymethods since them are not longer used into the project. - Chore: moved embed implementation to
_defaultEmbedLineBuilder()inPDFServiceclass. - Chore: created
_applyCustomBlocks()to add all the necessary logic for add custom widgets from the custom callbacks inPDFServiceclass. - Chore(breaking changes): renamed
md_extensionfile toheader_level_extensionin extensions. - Chore(breaking changes): renamed
MdHeaderLevelExtensiontoHeaderLevelResolverExtensionin extensions. - Chore(doc): added customization documention (only partially).
- Chore(breaking changes): added
extraArgsparam to allPDFWidgetBuilder. - Chore: deprecated
IMAGE_LOCAL_STORAGE_PATH_PATTERNsince only works for android devices. - Chore: deprecated
DeltaAttributesOptions,overrideAttributesPassedByUser,deltaOptionalAttrandshouldProcessDeltasinPDFConverter, since its implementation is not needed for the current target of the package. - Feat: added
isFromLocalStoragemethod to detect is the input passed is a storage path. - Feat: added
onDetectImageUrlto allow us create our custom implementation for get bytes from a external url. - Feat: added
imageConstraintsto create a default width and height for images when them has not that attributes specified. - Feat: added support for custom code-block highlighting theme using
customCodeHighlightTheme. Check about highlight_utils. - Feat: added support for build error images using
onDetectErrorInImage. - Feat: added support for build video widgets
onDetectVideoBlock. - Feat: added support for build a custom
TextStylefor inline-code fragments usinginlineCodeStyle. - Feat: added support for build custom leading widgets for lists using
listLeadingBuilder. - Feat: added support for code-block highlighting using
enableCodeBlockHighlightingandisLightMode. - Feat: added support for custom heading sizes using
customHeadingSizes. - Feat: added support for switch between the different versions of the default list blocks using
listTypeWidget.
-
2.2.925 Feb 2025Release notes
Open source →- Fix: replace bullet unicode text to bullet point widget by @ToddZeil in https://github.com/CatHood0/flutter_quill_to_pdf/pull/15
New Contributors
- @ToddZeil made their first contribution in https://github.com/CatHood0/flutter_quill_to_pdf/pull/15
-
2.2.801 Feb 2025Release notes
Open source →- Fix: rendering images in web and file generating (thanks to johannesvedder for his contributation).
- Feat: support for create custom pages
- Chore: added doc comment for
generateWidgetmethod
-
2.2.726 Dec 2024Release notes
Open source →- Chore: deprecated all
onRequestFontbefore2.2.7and replaced them withonRequestFontFamily
- Chore: deprecated all
-
2.2.626 Dec 2024 -
2.2.511 Sep 2024Release notes
Open source →- Fix: Color bugs and list block with its leading sizes calculation by @Paul-creator in https://github.com/CatHood0/flutter_quill_to_pdf/pull/12
- Feat: Support for base64 encoded images
- Feat: added directionality support by @CatHood0 in https://github.com/CatHood0/flutter_quill_to_pdf/pull/13
Full Changelog: https://github.com/CatHood0/flutter_quill_to_pdf/compare/V-2.2.4...V-2.2.5
-
2.2.425 Aug 2024Release notes
Open source →- Chore: removed deprecated instances
- Chore: removed outdated comments
- Feat: support for generate widgets instead whole pdf document - giving you full control of the PDF by @Paul-creator in https://github.com/CatHood0/flutter_quill_to_pdf/pull/11
New Contributors
- @Paul-creator made their first contribution in https://github.com/CatHood0/flutter_quill_to_pdf/pull/11
Full Changelog: https://github.com/CatHood0/flutter_quill_to_pdf/compare/V-2.2.3...V-2.2.4
-
2.2.303 Aug 2024Release notes
Open source →- Fix:
Listblock doesn't span to the next page if needed - Fix:
Imageblock doesn't appears with anyAlignment
- Fix:
-
2.2.228 Jul 2024 -
2.2.128 Jul 2024Release notes
Open source →- Fix: if there are images together a
Paragraphthese will be displayed badly on thePDF
- Fix: if there are images together a
-
2.2.021 Jul 2024Release notes
Open source →- Feat: Support for multilevel
List - Fix:
dart:htmlpackage doesn't let build project example
- Feat: Support for multilevel
-
2.1.1121 Jul 2024Release notes
Open source →- Chore: updated dependency
flutter_quill_delta_easy_parserto fix some new line issues
- Chore: updated dependency
-
2.1.221 Jul 2024Nothing published for this version
-
2.1.121 Jul 2024Release notes
Open source →- Fix:
Imageembedblockattributes are ignored - Fix: bad indent multiplier
- Fix: late initialization of 'widgets' variable on
getListBlock - Fix: double is not subtype of 'String' on
css.dart - Fix: line-height amount is incorrect
- Fix:
-
2.1.020 Jul 2024Release notes
Open source →- Chore: now
onRequestFontsare optional - Fix:
PdfWidgetGeneratorwas replaced byPDFWidgetBuilder - Fix:
videoblock is detected as aimageblock - Fix:
codeblockhas not padding on it's content - Fix: comments to describe how new lines are detected on
blockGeneratorsmethod - Fix:
headerblock indentation multiplier - Feat: support for
customBuildersagain returned to replacecustomCOnverters - Chore: was
deprecatedmost of themethodsandparamsthat are no longer used
- Chore: now
-
2.0.019 Jul 2024Release notes
Open source →¡BREAKING CHANGES!
The way of build the PDF's it's different and better
Before implementation (using
vsc_quill_delta_to_htmlandhtml2mdwithRegExppatterns)The
PDFis builded: first theDeltais converted to a custom implementation, then, after it will be transformed to aMarkdownwith someHTMLstyles to avoid losing align attrs or colors.On the creation of the
PDF(usingPdfService) all of thisHTMLwithMarkdownare detected usingRegExpthat made more difficult had a correct performance. Some devices even could crash on the building of thatPDFway.New implementation (using
flutter_quill_delta_easy_parser)Transform directly a
Deltato aStructured-Documenttype that it's more easy to be readed by a human, and getting the attributes from anyLineor the block attributes from the currentParagraph.Other Changes
- Fix: app crashed when use
createDocumentmethod. - Fix: bad perfomance while building a PDF.
- Chore: deprecated
customConvertersparam fromPDFConverterto avoid using after this release - Fix: removed most of the
RegExpused on Constant class. - Fix: removed
MarkdownRulesclass since is not necessary now. - Fix: removed
vsc_quill_delta_to_htmlandhtml2mdsince are not used now. - Fix: removed
HTMLConverterOptionslocal implementation since is not used now. - Chore: removed
setCustomRulesmethod from Converter - Chore: moved some const values to example since wont be necessary be in the package.
By now this version is not using CustomPDFWidget or PdfWidgetGenerator. This is just a temporary issue that will be fixed on next releases
- Fix: app crashed when use
-
1.2.203 Jul 2024 -
1.2.102 Jul 2024Release notes
Open source →- [Fix] renamed WidgetGenerator to PdfWidgetGenerator
- [Fix] renamed file markdown_rules_custom to markdown_rules
- [Chore] changed ConverterOptions from converter delta to html from
HTMLConverterOptionstoConverterOptions.forEmail() - [Feat] exposed PdfService
- [Feat] added support for strikethrough in PdfService
- [Feat] All params on DeltaAttributesOptions are supported
- [BREAKING CHANGES] rgbColor was renamed as hexColor and now is an int at DeltaAttributesOptions
- [BREAKING CHANGES] levelHeader was removed on DeltaAttributesOptions
-
1.2.025 May 2024Release notes
Open source →- Removed unnecessary code
- Writed more documentation about classes and functions
- [Fix] rename at MarkdownRules by bad name of file
- [Fix] bad list formatting. The list block function generator didn't detect the span styles into itself
- [Feat] added support for image links
- [Feat] added support for colors
- [Feat] added support for blockquote
- [Feat] added support for codeblock
- [Feat] added support to render custom html using
renderCustomCallbackparam fromconvertDeltaToHtml
//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(); }- [Feat] added support for customize properties in blockquote and codeblock without create a custom widget
///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; -
1.1.424 May 2024 -
1.1.324 May 2024Nothing published for this version
-
1.1.224 May 2024Nothing published for this version
-
1.1.124 May 2024Release notes
Open source →- [Feat] improved README
- [Fix] bad unnecessary args remove
- [Fix] bad names in some classes and functions
- [Fix] bad test (by now cannot be created a test)
1.1.0
- [Feat] added support to custom delta to html converter
- [Feat] added support to custom html to markdown converter
- [Feat] added new factory to create document and write file
- [Feat] improved params descriptions
- [Feat] added support to customize markdown rules
- [Feat] now we can add a custom theme to pdf document
- [Feat] now we can pass functions to when the create doc ends sucessfully or when throws and exception
- [Fix] removed lineHeight attribute since flutt_quill and html2md has Rule class and creates conflicts on imports
- README now has better documentation, to be more accurate on how use this library
1.0.2
- [Fix] inconfortable name. PDFConvertersParam was changed to PDFPageFormat
- [Feat] improved README to make more easy read how works the package
1.0.1
- [Fix] minimal errors
- [Fix] issue where list (bullet, check, and ordered) takes a more space that it needs on top
1.0.0
- First commit
-
1.1.024 May 2024Nothing published for this version
-
1.0.223 May 2024Nothing published for this version
-
1.0.123 May 2024Nothing published for this version