LabelInfo constructor

LabelInfo({
  1. int labelNameIndex = -1,
  2. bool isAutoCut = true,
  3. bool isEndCut = true,
  4. bool isHalfCut = false,
  5. bool isSpecialTape = false,
  6. bool isCutMark = false,
  7. LabelColor labelColor = LabelColor.UNSUPPORT,
  8. LabelColor labelFontColor = LabelColor.UNSUPPORT,
  9. int labelType = -1,
})

Implementation

LabelInfo(
    {
    // TODO Consider using labal ID instead
    this.labelNameIndex = -1,
    this.isAutoCut = true,
    this.isEndCut = true,
    this.isHalfCut = false,
    this.isSpecialTape = false,
    this.isCutMark = false,
    this.labelColor = LabelColor.UNSUPPORT,
    this.labelFontColor = LabelColor.UNSUPPORT,
    this.labelType = -1});