paint method

  1. @override
void paint(
  1. PaintingContext context,
  2. Offset offset
)
override

Draws the rendered text to the canvas at the specified offset.

Implementation

@override
void paint(PaintingContext context, Offset offset) {
  _textPainter.paint(context.canvas, offset);
}