parseHeadingHTML function
Implementation
Paragraph parseHeadingHTML(String content,
{bool isArabic = false,
TextAlign textAlign = TextAlign.left,
String arabicFontFamily = "",
String fontFamily = "",
double baseFontSize = 16.0}) {
var data = [TextSpan(text: content)];
_contentParsers.forEach((p) => data = p(data, baseFontSize));
return Paragraph.heading(content, _decodeHTML(data),
isArabic ? arabicFontFamily : fontFamily, textAlign);
}