Draws the text on the given canvas with the provided size.
canvas
size
@override void draw(Canvas canvas, Size size) { _textPainter.paint(canvas, offset); }