InvoiceTemplate constructor

InvoiceTemplate({
  1. TextDirection direction = TextDirection.ltr,
  2. TemplateTheme theme = TemplateThemes.commerce,
  3. SfntFont? font,
  4. SfntFont? fontBold,
  5. required TemplateParty seller,
  6. required TemplateParty buyer,
  7. List<TradeLine> lines = const <TradeLine>[],
  8. required MoneyTotals totals,
  9. TradeLabels labels = const TradeLabels(),
  10. String number = '',
  11. String date = '',
  12. String due = '',
  13. String? notes,
  14. String footer = '',
  15. List<SignSlot> signs = const <SignSlot>[],
})

InvoiceTemplate API.

Implementation

InvoiceTemplate({
  this.direction = TextDirection.ltr,
  this.theme = TemplateThemes.commerce,
  this.font,
  this.fontBold,
  required this.seller,
  required this.buyer,
  this.lines = const <TradeLine>[],
  required this.totals,
  this.labels = const TradeLabels(),
  this.number = '',
  this.date = '',
  this.due = '',
  this.notes,
  this.footer = '',
  this.signs = const <SignSlot>[],
});