Text constructor
Text(
- String text, {
- double fontSize = 16,
- FontWeight fontWeight = pw.FontWeight.normal,
- PdfColor color = PdfColors.black,
- TextAlign? textAlign,
- TextDirection? textDirection,
- bool? softWrap,
- bool tightBounds = false,
- double textScaleFactor = 1.0,
- int? maxLines,
- TextOverflow? overflow,
- Font? banglaFont,
- TextStyle? style,
- 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,
});