DrawText method
Draw text (using default font)
Implementation
void DrawText(
String text,
num posX,
num posY,
num fontSize,
Color color,
) => run(
() => _debugLabels.DrawText(text, posX, posY, fontSize, color),
() => _flat.DrawText(
String$.ValueOrNull(text),
posX.toInt(),
posY.toInt(),
fontSize.toInt(),
color,
),
);