PosStyles.defaults constructor

const PosStyles.defaults({
  1. bool bold = false,
  2. bool reverse = false,
  3. bool underline = false,
  4. bool turn90 = false,
  5. PosAlign align = PosAlign.left,
  6. PosTextSize height = PosTextSize.size1,
  7. PosTextSize width = PosTextSize.size1,
  8. PosFontType? fontType = PosFontType.fontA,
  9. String? codeTable = "CP437",
})

Implementation

const PosStyles.defaults({
  this.bold = false,
  this.reverse = false,
  this.underline = false,
  this.turn90 = false,
  this.align = PosAlign.left,
  this.height = PosTextSize.size1,
  this.width = PosTextSize.size1,
  this.fontType = PosFontType.fontA,
  this.codeTable = "CP437",
});