drawString method

void drawString(
  1. int x,
  2. int y,
  3. String text, {
  4. Color color = const Color.rgb(0, 0, 0),
})

Implementation

void drawString(int x, int y, String text,
    {Color color = const Color.rgb(0, 0, 0)}) {
  img.drawString(_decodedBytes!, img.arial_14, x, y, text,
      color: img.getColor(color.toRgbColor().r as int,
          color.toRgbColor().g as int, color.toRgbColor().b as int));
}