Text constructor

Text({
  1. bool bold = false,
  2. String color = '#000000',
  3. String fontFamily = 'sans-serif',
  4. String hAlign = 'left',
  5. bool italic = false,
  6. bool kerning = true,
  7. int pixelSize = 16,
  8. bool strikeout = false,
  9. String text = '',
  10. bool underline = false,
  11. String vAlign = 'top',
  12. bool wrap = false,
})

Implementation

Text({
  this.bold = false,
  this.color = '#000000',
  this.fontFamily = 'sans-serif',
  this.hAlign = 'left',
  this.italic = false,
  this.kerning = true,
  this.pixelSize = 16,
  this.strikeout = false,
  this.text = '',
  this.underline = false,
  this.vAlign = 'top',
  this.wrap = false,
});