Text constructor

Text(
  1. String text, {
  2. required Font banglaFont,
  3. Font? generalFont,
  4. double fontSize = 14,
  5. FontWeight fontWeight = pw.FontWeight.normal,
  6. PdfColor color = PdfColors.black,
  7. TextAlign textAlign = pw.TextAlign.start,
  8. TextDirection? textDirection,
  9. bool? softWrap,
  10. bool tightBounds = false,
  11. double textScaleFactor = 1,
  12. int? maxLines,
  13. TextOverflow? overflow,
  14. TextStyle? style,
  15. TextStyle? banglaStyle,
})

Implementation

Text(
  super.text, {
  required pw.Font banglaFont,
  pw.Font? generalFont,
  super.fontSize,
  super.fontWeight,
  super.color,
  super.textAlign,
  super.textDirection,
  super.softWrap,
  super.tightBounds,
  super.textScaleFactor,
  super.maxLines,
  super.overflow,
  super.style,
  pw.TextStyle? banglaStyle,
}) : super(
       bengaliFont: banglaFont,
       generalFont: generalFont,
       bengaliStyle: banglaStyle,
     );