Bullet constructor
Bullet({
- String? text,
- TextAlign textAlign = pw.TextAlign.left,
- TextStyle? style,
- EdgeInsetsGeometry margin = const pw.EdgeInsets.only(bottom: 2.0 * PdfPageFormat.mm),
- EdgeInsetsGeometry? padding,
- double bulletSize = 2.0 * PdfPageFormat.mm,
- EdgeInsetsGeometry bulletMargin = const pw.EdgeInsets.only(top: 1.5 * PdfPageFormat.mm, left: 5.0 * PdfPageFormat.mm, right: 2.0 * PdfPageFormat.mm),
- BoxShape bulletShape = pw.BoxShape.circle,
- PdfColor bulletColor = PdfColors.black,
Creates a Bullet.
Implementation
Bullet({
this.text,
this.textAlign = pw.TextAlign.left,
this.style,
this.margin = const pw.EdgeInsets.only(bottom: 2.0 * PdfPageFormat.mm),
this.padding,
this.bulletSize = 2.0 * PdfPageFormat.mm,
this.bulletMargin = const pw.EdgeInsets.only(
top: 1.5 * PdfPageFormat.mm,
left: 5.0 * PdfPageFormat.mm,
right: 2.0 * PdfPageFormat.mm,
),
this.bulletShape = pw.BoxShape.circle,
this.bulletColor = PdfColors.black,
});