Paragraph constructor

Paragraph({
  1. String? text,
  2. TextAlign textAlign = pw.TextAlign.justify,
  3. TextStyle? style,
  4. EdgeInsetsGeometry margin = const pw.EdgeInsets.only(bottom: 5.0 * PdfPageFormat.mm),
  5. EdgeInsetsGeometry? padding,
})

Creates a Paragraph.

Implementation

Paragraph({
  this.text,
  this.textAlign = pw.TextAlign.justify,
  this.style,
  this.margin = const pw.EdgeInsets.only(bottom: 5.0 * PdfPageFormat.mm),
  this.padding,
});