BanglaFontTypeExtension extension
Methods
-
style(
{double fontSize = 16, FontWeight fontWeight = pw.FontWeight.normal, PdfColor color = PdfColors.black}) → TextStyle -
Available on BanglaFontType, provided by the BanglaFontTypeExtension extension
Get a ready-to-use TextStyle for this font -
text(
String text, {double fontSize = 16, FontWeight fontWeight = pw.FontWeight.normal, PdfColor color = PdfColors.black, TextAlign textAlign = pw.TextAlign.start}) → Widget -
Available on BanglaFontType, provided by the BanglaFontTypeExtension extension
Shortcut to create a BanglaText widget -
ts(
{double fontSize = 16, FontWeight fontWeight = pw.FontWeight.normal, PdfColor color = PdfColors.black}) → TextStyle -
Available on BanglaFontType, provided by the BanglaFontTypeExtension extension
Returns a ready-to-use pw.TextStyle with this Bangla font