Inheritance
Implemented types
Implementers
Constructors
PdfConfigurator ({required Future <Font > onRequestBoldFont (String fontFamily ), required Future <Font > onRequestBothFont (String fontFamily ), required Future <List <Font > ? > onRequestFallbacks (String fontFamily )?, required Future <Font > onRequestFont (String fontFamily ), required Future <Font > onRequestItalicFont (String fontFamily ), required List <CustomConverter > customConverters , required T document , double ? blockQuotePaddingLeft , double ? blockQuotePaddingRight , double ? blockQuotethicknessDividerColor , PdfColor? blockQuoteBackgroundColor , PdfColor? codeBlockBackgroundColor , TextStyle? codeBlockNumLinesTextStyle , TextStyle? codeBlockTextStyle , PdfColor? blockQuoteDividerColor , TextStyle? blockQuoteTextStyle , Font? codeBlockFont , CustomPDFWidget ? onDetectBlockquote , CustomPDFWidget ? onDetectCodeBlock , CustomPDFWidget ? onDetectAlignedParagraph , CustomPDFWidget ? onDetectCommonText , CustomPDFWidget ? onDetectInlinesMarkdown , CustomPDFWidget ? onDetectLink , CustomPDFWidget ? onDetectList , CustomPDFWidget ? onDetectInlineRichTextStyles , CustomPDFWidget ? onDetectImageBlock , Delta? backM , Delta? frontM })
Methods
applyInlineStyles (String line , [TextStyle? style , bool addFontSize = true ])
→ Future <List <TextSpan > >
blockGenerators (List <String > lines )
→ Future <List <Widget > >
This function generate widgets
to create a book with custom views of the content
inherited
customRules (List <Rule > customRules , {bool clearDefaultRules = false })
→ void
This fuction let us add new rules as we wants. We can clear the default rules, or just write our rules.
You can check html2md documentation about here: https://github.com/jarontai/html2md
inherited
generateDoc ()
→ Future <D >
This functions generates the document
inherited
generatePages ({required List <Delta > documents })
→ Future <List <Map <String , dynamic > > >
This function create a (valid) file transforming
delta format to markdown
and detecting all markdown syntax
for
put the attributes to the paragraph
inherited
override
getAlignedParagraphBlock (String line , [TextStyle? style ])
→ Future <List <Widget > >
override
getBlockQuote (String line , [TextStyle? style ])
→ Future <List <Widget > >
override
getCodeBlock (String line , [TextStyle? style ])
→ Future <List <Widget > >
override
override
getImageBlock (String line , [Alignment? alignment ])
→ Future <Widget? >
override
getInlineStyles (String line , [TextStyle? style ])
→ Future <List <TextSpan > >
override
getLinkStyle (String line , [TextStyle? style , bool addFontSize = true ])
→ Future <List <TextSpan > >
override
getListBlock (String line , bool isCheckList , [TextStyle? style ])
→ Future <Widget >
override
getNewLinesWithSpacing (String line , [TextStyle? style ])
→ Future <List <TextSpan > >
getRichTextInlineStyles (String line , [TextStyle? style , bool returnContentIfNeedIt = false , bool addFontSize = true ])
→ Future <List <InlineSpan > >
override
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
flutter_quill_to_pdf 1.2.1