Bullet constructor
Bullet({
- String? text,
- TextAlign textAlign = TextAlign.left,
- TextStyle? style,
- EdgeInsetsGeometry margin = const EdgeInsets.only(bottom: 2.0 * PdfPageFormat.mm),
- EdgeInsetsGeometry? padding,
- double bulletSize = 2.0 * PdfPageFormat.mm,
- EdgeInsetsGeometry bulletMargin = const EdgeInsets.only(top: 1.5 * PdfPageFormat.mm, left: 5.0 * PdfPageFormat.mm, right: 2.0 * PdfPageFormat.mm),
- BoxShape bulletShape = BoxShape.circle,
- 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,
});