TextPrint constructor

TextPrint({
  1. required String message,
  2. TextAlignment alignment = TextAlignment.left,
  3. int fontSize = 16,
  4. FontType fontType = FontType.def,
  5. bool bold = false,
  6. bool underline = false,
  7. bool italic = false,
})

Implementation

TextPrint({
  required String message,
  this.alignment = TextAlignment.left,
  this.fontSize = 16,
  this.fontType = FontType.def,
  this.bold = false,
  this.underline = false,
  this.italic = false,
}) : super(PrintType.text, message);