TextLayer constructor

TextLayer(
  1. String text, {
  2. int fontSize = 20,
  3. int? start,
  4. int? end,
  5. int? rotate,
  6. int? x,
  7. int? y,
  8. Color color = Colors.white,
  9. Color bgColor = Colors.black,
  10. FontFile? fontFile,
  11. String? fontFamily,
})

Implementation

TextLayer(
  this.text, {
  this.fontSize = 20,
  this.start,
  this.end,
  this.rotate,
  this.x,
  this.y,
  this.color = Colors.white,
  this.bgColor = Colors.black,
  this.fontFile,
  this.fontFamily,
});