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? underline = 0,
  9. int? linefeed = 0,
  10. int? x = 0,
  11. 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.underline = 0, //0,1
    this.linefeed = 0, //0,1
    this.x = 0,
    this.y = 0});