renderTextSpan method

void renderTextSpan(
  1. TextSpan textSpan,
  2. double x,
  3. double y,
  4. Canvas? other,
)

Implementation

void renderTextSpan(TextSpan textSpan, double x, double y, Canvas? other) {
  textPainter.text = textSpan;
  textPainter.layout();
  textPainter.paint(other ?? canvas, Offset(x, y));
}