MyPainter constructor

MyPainter(
  1. double? xPos,
  2. double? yPos,
  3. String? text,
  4. Color? color,
  5. double? fontSize,
)

Implementation

MyPainter(this.xPos, this.yPos, this.text, this.color, this.fontSize);