DeliveryNoteTemplate constructor

DeliveryNoteTemplate({
  1. TextDirection direction = TextDirection.ltr,
  2. TemplateTheme theme = TemplateThemes.commerce,
  3. SfntFont? font,
  4. SfntFont? fontBold,
  5. required TemplateParty sender,
  6. required TemplateParty receiver,
  7. List<TradeLine> lines = const <TradeLine>[],
  8. TradeLabels labels = const TradeLabels(document: 'Delivery note', from: 'Sender', to: 'Receiver', extra: 'Ship date', quantity: 'Ordered', unit: 'Shipped'),
  9. String number = '',
  10. String date = '',
  11. String shipDate = '',
  12. String? notes,
  13. String footer = '',
  14. List<SignSlot> signs = const <SignSlot>[],
})

DeliveryNoteTemplate API.

Implementation

DeliveryNoteTemplate({
  this.direction = TextDirection.ltr,
  this.theme = TemplateThemes.commerce,
  this.font,
  this.fontBold,
  required this.sender,
  required this.receiver,
  this.lines = const <TradeLine>[],
  this.labels = const TradeLabels(
    document: 'Delivery note',
    from: 'Sender',
    to: 'Receiver',
    extra: 'Ship date',
    quantity: 'Ordered',
    unit: 'Shipped',
  ),
  this.number = '',
  this.date = '',
  this.shipDate = '',
  this.notes,
  this.footer = '',
  this.signs = const <SignSlot>[],
});