renderText method

void renderText(
  1. String text,
  2. double x,
  3. double y, {
  4. Canvas? other,
  5. TextStyle? style,
})

Implementation

void renderText(String text, double x, double y,
    {Canvas? other, TextStyle? style}) =>
  renderTextSpan(
      TextSpan(style: style ?? const TextStyle(), text: text), x, y, other
  );