DeltaToPDF class

title DeltaToPDF Class Description This is class with helper functions to convert flutter_quill delta object to pdf object Written_by sabeeralikp

Constructors

DeltaToPDF()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deltaToPDF(List<Operation> deltaList) → dynamic
Description main wrapper to convert delta to pdf Returns pdf widget object
getAttributedText(Map<String, dynamic>? attribute, String text, bool hasAttribute, FontWeight fontWeight, double fontSize) → dynamic
Description converts header attributed text Returns all text with style
getHeaderAttributedText(Map<String, dynamic>? attribute, String text, bool hasAttribute) → dynamic
Description converts header attributed text style Returns fontWeight & fontSize
getPDFHeaderStyle(dynamic key, dynamic value) → dynamic
Description converts header text style Returns fontWeight & fontSize
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited