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