LabelTextStyle constructor

LabelTextStyle({
  1. int? posX = 0,
  2. int? posY = 0,
  3. int? textSize = 24,
  4. int? textWidthRatio = 1,
  5. int? textHeightRatio = 1,
  6. int? width = -1,
  7. int? height = -1,
  8. AlignLabel? align = AlignLabel.DEFAULT,
  9. Rotate? rotate = Rotate.ROTATE_0,
  10. int? textSpace = 0,
  11. bool? enableBold = false,
  12. bool? enableUnderline = false,
  13. bool? enableStrikethrough = false,
  14. bool? enableItalics = false,
  15. bool? enAntiColor = false,
})

Implementation

LabelTextStyle({
  this.posX = 0,
  this.posY = 0,
  this.textSize = 24,
  this.textWidthRatio = 1,
  this.textHeightRatio = 1,
  this.width = -1,
  this.height = -1,
  this.align = AlignLabel.DEFAULT,
  this.rotate = Rotate.ROTATE_0,
  this.textSpace = 0,
  this.enableBold = false,
  this.enableUnderline = false,
  this.enableStrikethrough = false,
  this.enableItalics = false,
  this.enAntiColor = false,
});