Draw text on the Painter at the x and y position.
text
x
y
static void drawText(Painter painter, int x, int y, String text) => painter.drawString(x, y, text);