drawTextRect method
- @override
- String text,
- double x,
- double y,
- double w,
- double h,
- String halign,
- String valign,
override
Implementation
@override
void drawTextRect(String text, double x, double y, double w, double h,
String halign, String valign) {
commands.add(DrawTextRectCommand(
text, Rect.fromLTWH(x, y, w, h), currentColor, halign, valign));
onUpdate?.call();
}