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