Text constructor

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

Implementation

Text(
  this.text, {
  this.fontSize = 16,
  this.fontWeight = pw.FontWeight.normal,
  this.color = PdfColors.black,
  this.textAlign,
  this.textDirection,
  this.softWrap,
  this.tightBounds = false,
  this.textScaleFactor = 1.0,
  this.maxLines,
  this.overflow,
  this.banglaFont,
  this.style,
  this.banglaStyle,
});