PdfBatesNumbering constructor

const PdfBatesNumbering({
  1. String prefix = '',
  2. String suffix = '',
  3. int start = 1,
  4. int step = 1,
  5. int digits = 6,
  6. PdfFont? font,
  7. double fontSize = 9,
  8. PdfColor color = PdfColors.black,
  9. PdfStampAnchor anchor = PdfStampAnchor.bottomRight,
  10. double marginX = 24,
  11. double marginY = 24,
  12. PdfBoxType reference = PdfBoxType.crop,
})

Configures the numbering.

Implementation

const PdfBatesNumbering({
  this.prefix = '',
  this.suffix = '',
  this.start = 1,
  this.step = 1,
  this.digits = 6,
  this.font,
  this.fontSize = 9,
  this.color = PdfColors.black,
  this.anchor = PdfStampAnchor.bottomRight,
  this.marginX = 24,
  this.marginY = 24,
  this.reference = PdfBoxType.crop,
})  : assert(digits >= 0, 'The digit count cannot be negative.'),
      assert(step != 0, 'The step must be non-zero.');