PosSeparator constructor

const PosSeparator({
  1. String character,
  2. int? length,
  3. int linesAfter,
})

Creates ESC/POS commands for printing full width separator

  • character the character to be printed for the separator. defaults to "-" (without double quotes)

  • length if null, then it will be adjusted according to the paper width

  • linesAfter defaults to 0.

Implementation

const factory PosSeparator({
  String character,
  int? length,
  int linesAfter,
}) = _PosSeparator;