LineText constructor

LineText({
  1. String? type,
  2. String? content,
  3. int? size = 0,
  4. int? align = ALIGN_LEFT,
  5. int? weight = 0,
  6. int? width = 0,
  7. int? height = 0,
  8. int? absolutePos = 0,
  9. int? relativePos = 0,
  10. int? fontZoom = 1,
  11. int? underline = 0,
  12. int? linefeed = 0,
  13. int? x = 0,
  14. int? y = 0,
})

Implementation

LineText(
    {this.type, //text,barcode,qrcode,image(base64 string)
    this.content,
    this.size = 0,
    this.align = ALIGN_LEFT,
    this.weight = 0, //0,1
    this.width = 0, //0,1
    this.height = 0, //0,1
    this.absolutePos = 0,
    this.relativePos = 0,
    this.fontZoom = 1,
    this.underline = 0, //0,1
    this.linefeed = 0, //0,1
    this.x = 0,
    this.y = 0});