StringPainter constructor

StringPainter(
  1. String text, {
  2. TextAlign horizontalTextAlign = TextAlign.center,
  3. VerticalAlign verticalTextAlign = VerticalAlign.center,
  4. double fontSize = 12,
  5. Color color = Colors.black,
  6. double rotateAngle = 0.0,
})

Implementation

StringPainter(this.text,
    {this.horizontalTextAlign = TextAlign.center,
    this.verticalTextAlign = VerticalAlign.center,
    this.fontSize = 12,
    Color color = Colors.black,
    double rotateAngle = 0.0})
    : super(color: color, rotateAngle: rotateAngle);