drawRect method
- @override
- String mode,
- double x,
- double y,
- double w,
- double h,
override
Implementation
@override
void drawRect(String mode, double x, double y, double w, double h) {
commands.add(DrawRectCommand(Rect.fromLTWH(x, y, w, h), _buildPaint(mode)));
onUpdate?.call();
}