Bullet constructor

Bullet({
  1. String? text,
  2. TextAlign textAlign = TextAlign.left,
  3. TextStyle? style,
  4. EdgeInsetsGeometry margin = const EdgeInsets.only(bottom: 2.0 * PdfPageFormat.mm),
  5. EdgeInsetsGeometry? padding,
  6. double bulletSize = 2.0 * PdfPageFormat.mm,
  7. EdgeInsetsGeometry bulletMargin = const EdgeInsets.only(top: 1.5 * PdfPageFormat.mm, left: 5.0 * PdfPageFormat.mm, right: 2.0 * PdfPageFormat.mm),
  8. BoxShape bulletShape = BoxShape.circle,
  9. PdfColor bulletColor = PdfColors.black,
})

Implementation

Bullet({
  this.text,
  this.textAlign = TextAlign.left,
  this.style,
  this.margin = const EdgeInsets.only(bottom: 2.0 * PdfPageFormat.mm),
  this.padding,
  this.bulletSize = 2.0 * PdfPageFormat.mm,
  this.bulletMargin = const EdgeInsets.only(
    top: 1.5 * PdfPageFormat.mm,
    left: 5.0 * PdfPageFormat.mm,
    right: 2.0 * PdfPageFormat.mm,
  ),
  this.bulletShape = BoxShape.circle,
  this.bulletColor = PdfColors.black,
});