drawText method

  1. @override
void drawText(
  1. String text,
  2. double x,
  3. double y
)
override

Implementation

@override
void drawText(String text, double x, double y) {
  commands.add(DrawTextCommand(text, Offset(x, y), currentColor));
  onUpdate?.call();
}